Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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 <tony@atomide.com>
  • Loading branch information...
commit 048ad63ba831584507de65f320b7e756b04c3e2f 1 parent 514c736
@tmlind tmlind authored
Showing with 2 additions and 1 deletion.
  1. +1 −1  drivers/cbus/Kconfig
  2. +1 −0  drivers/cbus/retu-wdt.c
View
2  drivers/cbus/Kconfig
@@ -51,7 +51,7 @@ if CBUS_RETU
config CBUS_RETU_POWERBUTTON
depends on INPUT
- bool "Support for Retu power button"
+ tristate "Support for Retu power button"
---help---
The power button on Nokia 770 is connected to the Retu ASIC.
View
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"
Please sign in to comment.
Something went wrong with that request. Please try again.