From: Felipe Balbi Date: Tue, 18 Dec 2007 18:05:31 +0000 (+0200) Subject: ARCH: OMAP: Move board-nokia.h to hardware.h where it belongs X-Git-Tag: v2.6.24-omap1~31 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=d84fb670ab9f02e2ed0b3344f58c1a71e85d5800;p=linux-2.6-omap-h63xx.git ARCH: OMAP: Move board-nokia.h to hardware.h where it belongs board-*.h are always included from hardware.h Signed-off-by: Felipe Balbi Signed-off-by: Tony Lindgren --- diff --git a/include/asm-arm/arch-omap/board-nokia.h b/include/asm-arm/arch-omap/board-nokia.h index fa4f0a642d5..8e26e963e72 100644 --- a/include/asm-arm/arch-omap/board-nokia.h +++ b/include/asm-arm/arch-omap/board-nokia.h @@ -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 diff --git a/include/asm-arm/arch-omap/board.h b/include/asm-arm/arch-omap/board.h index dd044d7d318..3763f3ed52e 100644 --- a/include/asm-arm/arch-omap/board.h +++ b/include/asm-arm/arch-omap/board.h @@ -169,9 +169,6 @@ struct omap_version_config { char version[12]; }; - -#include - struct omap_board_config_entry { u16 tag; u16 len; diff --git a/include/asm-arm/arch-omap/hardware.h b/include/asm-arm/arch-omap/hardware.h index 98e89e567a2..54a8246da79 100644 --- a/include/asm-arm/arch-omap/hardware.h +++ b/include/asm-arm/arch-omap/hardware.h @@ -319,6 +319,10 @@ #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