battery: Fix wrong symbol name 92/312892/1
authorYunhee Seo <yuni.seo@samsung.com>
Tue, 4 Jun 2024 01:38:05 +0000 (10:38 +0900)
committerYunhee Seo <yuni.seo@samsung.com>
Mon, 17 Jun 2024 04:38:34 +0000 (13:38 +0900)
Change symbol name to system_plugin_backend_deviced_battery_data.
Because data keyword was missing, the battery module in plugin backend
could not be loaded properly.
To load battery module, this is necessary.

Change-Id: I3630a4460d94a43259c2e4e0f7a91910411a0db3
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
src/battery/battery.c

index 6578926ecec7ec9ff80d6fcdc636c806324f678d..2f4098ae466d491b442b03f6eb32b8ea96877e58 100644 (file)
@@ -51,7 +51,7 @@ static int deviced_plugin_battery_exit(void *data)
        return 0;
 }
 
-syscommon_plugin_backend EXPORT system_plugin_backend_deviced_battery = {
+syscommon_plugin_backend EXPORT system_plugin_backend_deviced_battery_data = {
        .name = "deviced-battery",
        .vendor = "Samsung",
        .init = deviced_plugin_battery_init,