OSDN Git Service

Merge remote-tracking branch 'x86/kitkat-x86' into lollipop-x86
[android-x86/hardware-intel-libsensors.git] / sensors.cpp
index 1d26c00..9cc12aa 100644 (file)
@@ -47,7 +47,7 @@ static int open_sensors(const struct hw_module_t* module, const char* id,
                         struct hw_device_t** device);
 
 
-static int sensors__get_sensors_list(struct sensors_module_t* module,
+static int sensors__get_sensors_list(struct sensors_module_t*,
                                      struct sensor_t const** list)
 {
         *list = BoardConfig::sensorList();
@@ -67,7 +67,8 @@ struct sensors_module_t HAL_MODULE_INFO_SYM = {
                 name: "Samsung Sensor module",
                 author: "Samsung Electronic Company",
                 methods: &sensors_module_methods,
-               dso: NULL,
+                dso: NULL,
+                reserved: {}
         },
         get_sensors_list: sensors__get_sensors_list,
 };