]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ARCH: OMAP: Move board-nokia.h to hardware.h where it belongs
authorFelipe Balbi <felipe.lima@indt.org.br>
Tue, 18 Dec 2007 18:05:31 +0000 (20:05 +0200)
committerTony Lindgren <tony@atomide.com>
Thu, 24 Jan 2008 23:19:43 +0000 (15:19 -0800)
board-*.h are always included from hardware.h

Signed-off-by: Felipe Balbi <felipe.lima@indt.org.br>
Signed-off-by: Tony Lindgren <tony@atomide.com>
include/asm-arm/arch-omap/board-nokia.h
include/asm-arm/arch-omap/board.h
include/asm-arm/arch-omap/hardware.h

index fa4f0a642d58cf6de5743660946d4f94dfddbbd2..8e26e963e7284448f0e99d159941174e865f6d7e 100644 (file)
@@ -6,8 +6,8 @@
  *  Copyright (C) 2005 Nokia Corporation
  */
 
-#ifndef _OMAP_BOARD_NOKIA_H
-#define _OMAP_BOARD_NOKIA_H
+#ifndef __ASM_ARCH_OMAP_NOKIA_H
+#define __ASM_ARCH_OMAP_NOKIA_H
 
 #include <linux/types.h>
 
index dd044d7d318eb02748562358cac2bcc0a1ab653b..3763f3ed52ea39ae852cef7f2886d21069975f7e 100644 (file)
@@ -169,9 +169,6 @@ struct omap_version_config {
        char version[12];
 };
 
-
-#include <asm-arm/arch-omap/board-nokia.h>
-
 struct omap_board_config_entry {
        u16 tag;
        u16 len;
index 98e89e567a2b6b209018e4b1d023f8dabab0a73c..54a8246da79c84bd2210c31aa34cc4e4b93229ea 100644 (file)
 #include "board-h4.h"
 #endif
 
+#if defined(CONFIG_MACH_NOKIA_N800) || defined(CONFIG_MACH_NOKIA770)
+#include "board-nokia.h"
+#endif
+
 #ifdef CONFIG_MACH_OMAP_2430SDP
 #include "board-2430sdp.h"
 #endif