board-n800-bt.c compilation error (OMAP_TAG_NOKIA_BT missing)
Subsystems (3)
Latest linux-omap#master (commit c699464bd) doesn't compile with n800_defconfig:
arch/arm/mach-omap2/board-n800-bt.c: In function 'n800_bt_init':arch/arm/mach-omap2/board-n800-bt.c:36: error: 'OMAP_TAG_NOKIA_BT' undeclared (first use in this function) arch/arm/mach-omap2/board-n800-bt.c:36: error: (Each undeclared identifier is reported only once arch/arm/mach-omap2/board-n800-bt.c:36: error: for each function it appears in.) arch/arm/mach-omap2/board-n800-bt.c:36: error: invalid application of 'sizeof' to incomplete type 'struct omap_bluetooth_config'
Signature · 1 line
Kalle Valo
PATCH 1/1 n800-bt: include board-nokia.h
Fixes compilation error:
arch/arm/mach-omap2/board-n800-bt.c: In function 'n800_bt_init':arch/arm/mach-omap2/board-n800-bt.c:36: error: 'OMAP_TAG_NOKIA_BT' undeclared (first use in this function) arch/arm/mach-omap2/board-n800-bt.c:36: error: (Each undeclared identifier is reported only once arch/arm/mach-omap2/board-n800-bt.c:36: error: for each function it appears in.) arch/arm/mach-omap2/board-n800-bt.c:36: error: invalid application of 'sizeof' to incomplete type 'struct omap_bluetooth_config'
---
arch/arm/mach-omap2/board-n800-bt.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
arch/arm/mach-omap2/board-n800-bt.c +1 -0
@@ -22,6 +22,7 @@#include <linux/kernel.h> #include <linux/platform_device.h> #include <mach/board.h> +#include <mach/board-nokia.h> static struct platform_device n800_bt_device = { .name ="hci_h4p" ,