summaryrefslogtreecommitdiff
path: root/weston-ivi-shell
diff options
context:
space:
mode:
authorEmre Ucan <eucan@de.adit-jv.com>2017-03-06 13:47:54 +0100
committerEmre Ucan <eucan@de.adit-jv.com>2017-03-06 14:25:15 +0100
commit1c149c242476b60d3cc50cd000c0116f03a86917 (patch)
tree714bba9c08a60d67db2787a1a6107d1564587600 /weston-ivi-shell
parent8a4fd39a62edbe92244ed5d5c914f489c606ed37 (diff)
downloadwayland-ivi-extension-1c149c242476b60d3cc50cd000c0116f03a86917.tar.gz
ivi-controller: use wet_load_module_entrypoint
After weston 1.12 version, there are a differentiation between weston modules and libweston modules. weston modules are installed to /usr/lib/weston and libweston modules are installed to /usr/lib/libweston-2. weston_load_module API tries to find the given module in libweston folder. Therefore, we have to use newly introduced wet_load_module_entrypoint API to load the module from weston folder. Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
Diffstat (limited to 'weston-ivi-shell')
-rw-r--r--weston-ivi-shell/src/ivi-controller.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/weston-ivi-shell/src/ivi-controller.c b/weston-ivi-shell/src/ivi-controller.c
index 22e9d88..312a978 100644
--- a/weston-ivi-shell/src/ivi-controller.c
+++ b/weston-ivi-shell/src/ivi-controller.c
@@ -1503,7 +1503,7 @@ load_input_module(struct weston_compositor *ec,
return 0;
}
- input_module_init = weston_load_module(input_module, "input_controller_module_init");
+ input_module_init = wet_load_module_entrypoint(input_module, "input_controller_module_init");
if (!input_module_init)
return -1;