summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c24xx/mach-smdk2443.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2019-09-02 22:33:24 +0200
committerKrzysztof Kozlowski <krzk@kernel.org>2020-08-20 17:48:12 +0200
commit81994e0ffc373e67ace4c98797c35f8213f07753 (patch)
treea334fff5750b53b644ab9f96a8cdea8b0c4a4c14 /arch/arm/mach-s3c24xx/mach-smdk2443.c
parent704b18250f59094f444d2728acccf52c185ac290 (diff)
downloadlinux-81994e0ffc373e67ace4c98797c35f8213f07753.tar.bz2
fbdev: s3c2410fb: remove mach header dependency
The s3c2410fb driver is too deeply intertwined with the s3c24xx platform code. Change it in a way that avoids the use of platform header files but having all interface data in a platform_data header, and the private register definitions next to the driver itself. One ugly bit here is that the driver pokes directly into gpio registers, which are owned by another driver. Passing the mapped addresses in platform_data is somewhat suboptimal, but it is a small improvement over the previous version. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Link: https://lore.kernel.org/r/20200806182059.2431-33-krzk@kernel.org Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Diffstat (limited to 'arch/arm/mach-s3c24xx/mach-smdk2443.c')
-rw-r--r--arch/arm/mach-s3c24xx/mach-smdk2443.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mach-s3c24xx/mach-smdk2443.c b/arch/arm/mach-s3c24xx/mach-smdk2443.c
index 8a1f2580c6c7..1c2fa7c3feb8 100644
--- a/arch/arm/mach-s3c24xx/mach-smdk2443.c
+++ b/arch/arm/mach-s3c24xx/mach-smdk2443.c
@@ -26,9 +26,8 @@
#include <asm/mach-types.h>
#include <mach/regs-gpio.h>
-#include <mach/regs-lcd.h>
-#include <mach/fb.h>
+#include <linux/platform_data/fb-s3c2410.h>
#include <linux/platform_data/i2c-s3c2410.h>
#include <plat/devs.h>