summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/eeze/eeze_sensor.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/eeze/eeze_sensor.c b/src/lib/eeze/eeze_sensor.c
index 43da8be23f..40861427be 100644
--- a/src/lib/eeze/eeze_sensor.c
+++ b/src/lib/eeze/eeze_sensor.c
@@ -13,13 +13,14 @@ static Eeze_Sensor *g_handle;
13static Eina_Prefix *pfx; 13static Eina_Prefix *pfx;
14 14
15/* Priority order for modules. The one with the highest order of the available 15/* Priority order for modules. The one with the highest order of the available
16 * ones will be used. This in good enough for now as we only have two modules 16 * ones will be used. This in good enough for now as we only have three modules
17 * and one is a test harness anyway. If the number of modules grows we might 17 * and one is a test harness anyway. If the number of modules grows we might
18 * re-think the priority handling, but we should do this when the need arise. 18 * re-think the priority handling, but we should do this when the need arise.
19 */ 19 */
20static const char *_module_priority[] = { 20static const char *_module_priority[] = {
21 "tizen", 21 "tizen",
22 "fake", 22 "fake",
23 "udev",
23 NULL 24 NULL
24}; 25};
25 26
@@ -82,10 +83,9 @@ eeze_sensor_modules_load(void)
82 */ 83 */
83 if (getenv("EFL_RUN_IN_TREE")) 84 if (getenv("EFL_RUN_IN_TREE"))
84 { 85 {
85 const char *modules[] = { "tizen", "fake", NULL };
86 const char **itr; 86 const char **itr;
87 87
88 for (itr = modules; *itr != NULL; itr++) 88 for (itr = _module_priority; *itr != NULL; itr++)
89 { 89 {
90 snprintf(buf, sizeof(buf), 90 snprintf(buf, sizeof(buf),
91 PACKAGE_BUILD_DIR "/src/modules/eeze/sensor/%s/.libs", 91 PACKAGE_BUILD_DIR "/src/modules/eeze/sensor/%s/.libs",