Commit 804f7f19 authored by Arnd Bergmann's avatar Arnd Bergmann
Browse files

fbdev: omap: avoid using mach/*.h files



All the headers we actually need are now in include/linux/soc,
so use those versions instead and allow compile-testing on
other architectures.

Acked-by: default avatarBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Acked-by: default avatarTony Lindgren <tony@atomide.com>
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent d87d44f7
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -211,8 +211,8 @@ config BACKLIGHT_LOCOMO

config BACKLIGHT_OMAP1
	tristate "OMAP1 PWL-based LCD Backlight"
	depends on ARCH_OMAP1
	default y
	depends on ARCH_OMAP1 || COMPILE_TEST
	default ARCH_OMAP1
	help
	  This driver controls the LCD backlight level and power for
	  the PWL module of OMAP1 processors.  Say Y if your board
+2 −2
Original line number Diff line number Diff line
@@ -14,8 +14,8 @@
#include <linux/slab.h>
#include <linux/platform_data/omap1_bl.h>

#include <mach/hardware.h>
#include <mach/mux.h>
#include <linux/soc/ti/omap1-io.h>
#include <linux/soc/ti/omap1-mux.h>

#define OMAPBL_MAX_INTENSITY		0xff

+2 −2
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@
config FB_OMAP
	tristate "OMAP frame buffer support"
	depends on FB
	depends on ARCH_OMAP1
	depends on ARCH_OMAP1 || (ARM && COMPILE_TEST)
	select FB_CFB_FILLRECT
	select FB_CFB_COPYAREA
	select FB_CFB_IMAGEBLIT
@@ -42,7 +42,7 @@ config FB_OMAP_LCD_MIPID

config FB_OMAP_LCD_H3
	bool "TPS65010 LCD controller on OMAP-H3"
	depends on MACH_OMAP_H3
	depends on MACH_OMAP_H3 || COMPILE_TEST
	depends on TPS65010=y
	default y
	help
+1 −1
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@
#include <linux/gpio/consumer.h>
#include <linux/lcd.h>

#include <mach/hardware.h>
#include <linux/soc/ti/omap1-io.h>

#include "omapfb.h"

+2 −1
Original line number Diff line number Diff line
@@ -25,7 +25,8 @@

#include <linux/omap-dma.h>

#include <mach/hardware.h>
#include <linux/soc/ti/omap1-soc.h>
#include <linux/soc/ti/omap1-io.h>

#include "lcdc.h"
#include "lcd_dma.h"
Loading