mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-28 13:02:59 +00:00
The omapfb driver is split into platform specific code for omap1, and driver code that is also specific to omap1. Moving both parts into the driver directory simplifies the structure and avoids the dependency on certain omap machine header files. As mach/lcd_dma.h can not be included from include/linux/omap-dma.h any more now, move the omap_lcd_dma_running() declaration into the omap-dma header, which matches where it is defined. Acked-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> Acked-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
34 lines
920 B
Makefile
34 lines
920 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Makefile for the OMAP1 framebuffer device driver
|
|
#
|
|
|
|
obj-$(CONFIG_FB_OMAP) += omapfb.o
|
|
|
|
ifdef CONFIG_FB_OMAP
|
|
# must be built-in
|
|
obj-y += lcd_dma.o
|
|
endif
|
|
|
|
objs-yy := omapfb_main.o lcdc.o
|
|
|
|
objs-y$(CONFIG_FB_OMAP_LCDC_EXTERNAL) += sossi.o
|
|
|
|
objs-y$(CONFIG_FB_OMAP_LCDC_HWA742) += hwa742.o
|
|
|
|
lcds-y$(CONFIG_MACH_AMS_DELTA) += lcd_ams_delta.o
|
|
lcds-y$(CONFIG_FB_OMAP_LCD_H3) += lcd_h3.o
|
|
lcds-y$(CONFIG_MACH_OMAP_PALMTE) += lcd_palmte.o
|
|
lcds-y$(CONFIG_MACH_OMAP_PALMTT) += lcd_palmtt.o
|
|
lcds-y$(CONFIG_MACH_OMAP_PALMZ71) += lcd_palmz71.o
|
|
lcds-$(CONFIG_ARCH_OMAP16XX)$(CONFIG_MACH_OMAP_INNOVATOR) += lcd_inn1610.o
|
|
lcds-$(CONFIG_ARCH_OMAP15XX)$(CONFIG_MACH_OMAP_INNOVATOR) += lcd_inn1510.o
|
|
lcds-y$(CONFIG_MACH_OMAP_OSK) += lcd_osk.o
|
|
|
|
lcds-y$(CONFIG_FB_OMAP_LCD_MIPID) += lcd_mipid.o
|
|
lcds-y$(CONFIG_MACH_HERALD) += lcd_htcherald.o
|
|
|
|
omapfb-objs := $(objs-yy)
|
|
|
|
obj-$(CONFIG_FB_OMAP) += $(lcds-yy)
|