diff options
Diffstat (limited to 'liblight')
-rw-r--r-- | liblight/lights.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/liblight/lights.c b/liblight/lights.c index 943fc2f..a64e6b5 100644 --- a/liblight/lights.c +++ b/liblight/lights.c @@ -265,13 +265,13 @@ static int open_lights(const struct hw_module_t *module, char const *name, } static struct hw_module_methods_t lights_module_methods = { - .open = open_lights, + .open = open_lights, }; struct hw_module_t HAL_MODULE_INFO_SYM = { .tag = HARDWARE_MODULE_TAG, - .version_major = 1, - .version_minor = 0, + .module_api_version = 1, + .hal_api_version = HARDWARE_HAL_API_VERSION, .id = LIGHTS_HARDWARE_MODULE_ID, .name = "lights Module", .author = "Google, Inc.", |