Permalink
Browse files

Avoid infinite loop in hw_get_module

Signed-off-by: Carsten Munk <carsten.munk@jollamobile.com>
  • Loading branch information...
1 parent 33b1d29 commit f96e1101d9d8d5f824e880c8d7a6c8fb6bc22297 Carsten Munk committed Nov 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 hardware/hardware.c
View
@@ -32,7 +32,7 @@ static void _init_lib_hardware()
int hw_get_module(const char *id, const struct hw_module_t **module)
{
HARDWARE_DLSYM(&_hw_get_module, "hw_get_module");
- return (*hw_get_module)(id, module);
+ return (*_hw_get_module)(id, module);
}
// vim:ts=4:sw=4:noexpandtab

0 comments on commit f96e110

Please sign in to comment.