public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* board-n800-bt.c compilation error (OMAP_TAG_NOKIA_BT missing)
@ 2009-01-16 18:48 Kalle Valo
  2009-01-16 19:11 ` [PATCH] n800-bt: include board-nokia.h Kalle Valo
  0 siblings, 1 reply; 2+ messages in thread
From: Kalle Valo @ 2009-01-16 18:48 UTC (permalink / raw)
  To: linux-omap; +Cc: ville.tervo

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' 

-- 
Kalle Valo

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH] n800-bt: include board-nokia.h
  2009-01-16 18:48 board-n800-bt.c compilation error (OMAP_TAG_NOKIA_BT missing) Kalle Valo
@ 2009-01-16 19:11 ` Kalle Valo
  0 siblings, 0 replies; 2+ messages in thread
From: Kalle Valo @ 2009-01-16 19:11 UTC (permalink / raw)
  To: linux-omap; +Cc: ville.tervo

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'

Signed-off-by: Kalle Valo <kalle.valo@nokia.com>
---

 arch/arm/mach-omap2/board-n800-bt.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-omap2/board-n800-bt.c b/arch/arm/mach-omap2/board-n800-bt.c
index 61afd2b..da3a7bb 100644
--- a/arch/arm/mach-omap2/board-n800-bt.c
+++ b/arch/arm/mach-omap2/board-n800-bt.c
@@ -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",


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-01-16 19:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-16 18:48 board-n800-bt.c compilation error (OMAP_TAG_NOKIA_BT missing) Kalle Valo
2009-01-16 19:11 ` [PATCH] n800-bt: include board-nokia.h Kalle Valo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox