Commit ad6c9101 authored by Igor Grinberg's avatar Igor Grinberg Committed by Tony Lindgren

ARM: OMAP1: move lcd pdata out of arch/arm/*

omap1 lcd platform data resides inside plat/board.h while it
should be inside include/linux/...
Move the omap1 lcd platform data to include/linux/omapfb.h.
Signed-off-by: default avatarIgor Grinberg <grinberg@compulab.co.il>
Acked-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent cc012729
...@@ -37,7 +37,6 @@ ...@@ -37,7 +37,6 @@
#include <plat/board-ams-delta.h> #include <plat/board-ams-delta.h>
#include <plat/keypad.h> #include <plat/keypad.h>
#include <plat/mux.h> #include <plat/mux.h>
#include <plat/board.h>
#include <mach/hardware.h> #include <mach/hardware.h>
#include <mach/ams-delta-fiq.h> #include <mach/ams-delta-fiq.h>
......
...@@ -32,7 +32,6 @@ ...@@ -32,7 +32,6 @@
#include <plat/flash.h> #include <plat/flash.h>
#include <plat/fpga.h> #include <plat/fpga.h>
#include <plat/keypad.h> #include <plat/keypad.h>
#include <plat/board.h>
#include <mach/hardware.h> #include <mach/hardware.h>
......
...@@ -42,7 +42,6 @@ ...@@ -42,7 +42,6 @@
#include <asm/mach/arch.h> #include <asm/mach/arch.h>
#include <plat/omap7xx.h> #include <plat/omap7xx.h>
#include <plat/board.h>
#include <plat/keypad.h> #include <plat/keypad.h>
#include <plat/mmc.h> #include <plat/mmc.h>
......
...@@ -26,7 +26,6 @@ ...@@ -26,7 +26,6 @@
#include <asm/mach/map.h> #include <asm/mach/map.h>
#include <plat/mux.h> #include <plat/mux.h>
#include <plat/board.h>
#include <plat/keypad.h> #include <plat/keypad.h>
#include <plat/lcd_mipid.h> #include <plat/lcd_mipid.h>
#include <plat/mmc.h> #include <plat/mmc.h>
......
...@@ -38,7 +38,6 @@ ...@@ -38,7 +38,6 @@
#include <plat/mux.h> #include <plat/mux.h>
#include <plat/tc.h> #include <plat/tc.h>
#include <plat/dma.h> #include <plat/dma.h>
#include <plat/board.h>
#include <plat/irda.h> #include <plat/irda.h>
#include <plat/keypad.h> #include <plat/keypad.h>
......
...@@ -38,7 +38,6 @@ ...@@ -38,7 +38,6 @@
#include <plat/mux.h> #include <plat/mux.h>
#include <plat/dma.h> #include <plat/dma.h>
#include <plat/tc.h> #include <plat/tc.h>
#include <plat/board.h>
#include <plat/irda.h> #include <plat/irda.h>
#include <plat/keypad.h> #include <plat/keypad.h>
......
...@@ -40,7 +40,6 @@ ...@@ -40,7 +40,6 @@
#include <plat/mux.h> #include <plat/mux.h>
#include <plat/dma.h> #include <plat/dma.h>
#include <plat/tc.h> #include <plat/tc.h>
#include <plat/board.h>
#include <plat/irda.h> #include <plat/irda.h>
#include <plat/keypad.h> #include <plat/keypad.h>
......
...@@ -32,7 +32,6 @@ ...@@ -32,7 +32,6 @@
#include <plat/fpga.h> #include <plat/fpga.h>
#include <plat/flash.h> #include <plat/flash.h>
#include <plat/keypad.h> #include <plat/keypad.h>
#include <plat/board.h>
#include <mach/hardware.h> #include <mach/hardware.h>
......
...@@ -38,7 +38,6 @@ ...@@ -38,7 +38,6 @@
#include <plat/dma.h> #include <plat/dma.h>
#include <plat/irda.h> #include <plat/irda.h>
#include <plat/tc.h> #include <plat/tc.h>
#include <plat/board.h>
#include <plat/keypad.h> #include <plat/keypad.h>
#include <plat/board-sx1.h> #include <plat/board-sx1.h>
......
...@@ -33,8 +33,6 @@ ...@@ -33,8 +33,6 @@
#include <mach/hardware.h> #include <mach/hardware.h>
#include <asm/mach/map.h> #include <asm/mach/map.h>
#include <plat/board.h>
#if defined(CONFIG_FB_OMAP) || defined(CONFIG_FB_OMAP_MODULE) #if defined(CONFIG_FB_OMAP) || defined(CONFIG_FB_OMAP_MODULE)
static bool omapfb_lcd_configured; static bool omapfb_lcd_configured;
......
...@@ -12,13 +12,6 @@ ...@@ -12,13 +12,6 @@
#include <linux/types.h> #include <linux/types.h>
struct omap_lcd_config {
char panel_name[16];
char ctrl_name[16];
s16 nreset_gpio;
u8 data_lines;
};
/* for TI reference platforms sharing the same debug card */ /* for TI reference platforms sharing the same debug card */
extern int debug_card_init(u32 addr, unsigned gpio); extern int debug_card_init(u32 addr, unsigned gpio);
......
...@@ -220,7 +220,12 @@ struct omapfb_display_info { ...@@ -220,7 +220,12 @@ struct omapfb_display_info {
#ifdef __KERNEL__ #ifdef __KERNEL__
#include <plat/board.h> struct omap_lcd_config {
char panel_name[16];
char ctrl_name[16];
s16 nreset_gpio;
u8 data_lines;
};
struct omapfb_platform_data { struct omapfb_platform_data {
struct omap_lcd_config lcd; struct omap_lcd_config lcd;
......
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