Skip to content
Browse files

cbus: Fix few compile errors found with randconfig

drivers/cbus/retu-pwrbutton.c:98: undefined reference to `input_allocate_device'
drivers/cbus/retu-pwrbutton.c:109: undefined reference to `input_register_device'
drivers/cbus/retu-pwrbutton.c:118: undefined reference to `input_free_device'
drivers/built-in.o: In function `retubutton_remove':
drivers/cbus/retu-pwrbutton.c:135: undefined reference to `input_unregister_device'
drivers/cbus/retu-pwrbutton.c:136: undefined reference to `input_free_device'

drivers/cbus/retu-wdt.c:167:3: error:
implicit declaration of function 'cpu_is_omap16xx' [-Werror=implicit-function-declaration]
drivers/cbus/retu-wdt.c:170:3: error:
implicit declaration of function 'cpu_is_omap24xx' [-Werror=implicit-function-declaration]

Signed-off-by: Tony Lindgren <>
  • Loading branch information...
1 parent 514c736 commit 048ad63ba831584507de65f320b7e756b04c3e2f @tmlind tmlind committed
Showing with 2 additions and 1 deletion.
  1. +1 −1 drivers/cbus/Kconfig
  2. +1 −0 drivers/cbus/retu-wdt.c
2 drivers/cbus/Kconfig
@@ -51,7 +51,7 @@ if CBUS_RETU
depends on INPUT
- bool "Support for Retu power button"
+ tristate "Support for Retu power button"
The power button on Nokia 770 is connected to the Retu ASIC.
1 drivers/cbus/retu-wdt.c
@@ -40,6 +40,7 @@
#include <asm/uaccess.h>
+#include <plat/cpu.h>
#include <plat/prcm.h>
#include "cbus.h"

0 comments on commit 048ad63

Please sign in to comment.
Something went wrong with that request. Please try again.