summaryrefslogtreecommitdiff
path: root/arch/arm/mach-s3c24xx/include/mach/fb.h
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2019-09-02 23:33:24 +0300
committerKrzysztof Kozlowski <krzk@kernel.org>2020-08-20 18:48:12 +0300
commit81994e0ffc373e67ace4c98797c35f8213f07753 (patch)
treea334fff5750b53b644ab9f96a8cdea8b0c4a4c14 /arch/arm/mach-s3c24xx/include/mach/fb.h
parent704b18250f59094f444d2728acccf52c185ac290 (diff)
downloadlinux-81994e0ffc373e67ace4c98797c35f8213f07753.tar.xz
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/include/mach/fb.h')
-rw-r--r--arch/arm/mach-s3c24xx/include/mach/fb.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/mach-s3c24xx/include/mach/fb.h b/arch/arm/mach-s3c24xx/include/mach/fb.h
deleted file mode 100644
index 4e539cb8b884..000000000000
--- a/arch/arm/mach-s3c24xx/include/mach/fb.h
+++ /dev/null
@@ -1,2 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-#include <plat/fb-s3c2410.h>