Commit 0ce52a74 authored by Francisco Alecrim's avatar Francisco Alecrim Committed by Tony Lindgren

OMAP: Compile fix: including board-2430osk.h missed

Including board file board-2430osk.h missed.

drivers/i2c/chips/twl4030_core.c:480: error: `IH_TWL4030_BASE' undeclared (first use in this function)
drivers/i2c/chips/twl4030_core.c:853: error: `IH_TWL4030_END' undeclared (first use in this function)
drivers/i2c/chips/twl4030_core.c:860: error: `TWL4030_IRQNUM' undeclared (first use in this function)
drivers/i2c/chips/twl4030_gpio.c:249: error: `IH_TWL4030_GPIO_BASE' undeclared (first use in this function)
drivers/i2c/chips/twl4030_gpio.c:787: error: `IH_TWL4030_BASE' undeclared (first use in this function)
...
Signed-off-by: default avatarFrancisco Alecrim <francisco.alecrim@indt.org.br>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent cc96f434
/*
* linux/include/asm-arm/arch-omap/board-2430osk.h
*
* Hardware definitions for TI OMAP2430 OSK board.
*
* Based on board-2330sdp.h
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
* NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
* ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#ifndef __ASM_ARCH_OMAP_2430OSK_H
#define __ASM_ARCH_OMAP_2430OSK_H
/* Placeholder for 2430OSK specific defines */
#define OMAP24XX_ETHR_START 0x08000300
#define OMAP24XX_ETHR_GPIO_IRQ 149
#define TWL4030_IRQNUM INT_24XX_SYS_NIRQ
/* TWL4030 Primary Interrupt Handler (PIH) interrupts */
#define IH_TWL4030_BASE IH_BOARD_BASE
#define IH_TWL4030_END (IH_TWL4030_BASE+8)
/* TWL4030 GPIO Interrupts */
#define IH_TWL4030_GPIO_BASE (IH_TWL4030_END)
#define IH_TWL4030_GPIO_END (IH_TWL4030_BASE+18)
#define NR_IRQS (IH_TWL4030_GPIO_END)
#endif /* __ASM_ARCH_OMAP_2430OSK_H */
...@@ -327,6 +327,10 @@ ...@@ -327,6 +327,10 @@
#include "board-2430sdp.h" #include "board-2430sdp.h"
#endif #endif
#ifdef CONFIG_MACH_OMAP_2430OSK
#include "board-2430osk.h"
#endif
#ifdef CONFIG_MACH_OMAP_3430SDP #ifdef CONFIG_MACH_OMAP_3430SDP
#include "board-3430sdp.h" #include "board-3430sdp.h"
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment