stefan pushed a commit to branch master.

commit f4ecb5ebcc058df28147434a0dc4e275fec25eb2
Author: Stefan Schmidt <[email protected]>
Date:   Thu Apr 18 15:49:18 2013 +0100

    eeze/sensor: Just use one list for available modules and add udev.
    
    The second list got introduced when eeze got merged into efl. Instead
    of maintaining both lists we can just go with one.
---
 src/lib/eeze/eeze_sensor.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/lib/eeze/eeze_sensor.c b/src/lib/eeze/eeze_sensor.c
index 43da8be..4086142 100644
--- a/src/lib/eeze/eeze_sensor.c
+++ b/src/lib/eeze/eeze_sensor.c
@@ -13,13 +13,14 @@ static Eeze_Sensor *g_handle;
 static Eina_Prefix *pfx;
 
 /* Priority order for modules. The one with the highest order of the available
- * ones will be used. This in good enough for now as we only have two modules
+ * ones will be used. This in good enough for now as we only have three modules
  * and one is a test harness anyway. If the number of modules grows we might
  * re-think the priority handling, but we should do this when the need arise.
  */
 static const char *_module_priority[] = {
    "tizen",
    "fake",
+   "udev",
    NULL
 };
 
@@ -82,10 +83,9 @@ eeze_sensor_modules_load(void)
     */
    if (getenv("EFL_RUN_IN_TREE"))
      {
-        const char *modules[] = { "tizen", "fake", NULL };
         const char **itr;
 
-        for (itr = modules; *itr != NULL; itr++)
+        for (itr = _module_priority; *itr != NULL; itr++)
           {
              snprintf(buf, sizeof(buf),
                       PACKAGE_BUILD_DIR "/src/modules/eeze/sensor/%s/.libs",

-- 

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter

Reply via email to