Commit c6ff132d authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Krzysztof Kozlowski
Browse files

ARM: s3c: make headers local if possible



A lot of header files are only used internally now, so they can be moved
to mach-s3c, out of the visibility of drivers.

Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20200806182059.2431-40-krzk@kernel.org


[krzk: Rebase and fixup leds-s3c24xx driver]
Signed-off-by: default avatarKrzysztof Kozlowski <krzk@kernel.org>
parent 71b9114d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@
#include <linux/io.h>
#include <linux/regulator/consumer.h>

#include <plat/regs-adc.h>
#include "regs-adc.h"
#include <linux/soc/samsung/s3c-adc.h>

/* This driver is designed to control the usage of the ADC block between
+1 −1
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@
#include <asm/mach/map.h>
#include <asm/mach/irq.h>

#include <mach/map.h>
#include "map.h"
#include <mach/irqs.h>

#include "bast.h"
+1 −1
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@
#include <asm/mach-types.h>
#include <asm/mach/irq.h>

#include <mach/regs-irq.h>
#include "regs-irq.h"
#include <mach/irqs.h>

#include "bast.h"
+5 −5
Original line number Diff line number Diff line
@@ -31,14 +31,14 @@
#include <asm/mach-types.h>
#include <asm/irq.h>

#include <mach/regs-gpio.h>
#include <mach/gpio-samsung.h>
#include "regs-gpio.h"
#include "gpio-samsung.h"
#include <linux/platform_data/leds-s3c24xx.h>
#include <linux/platform_data/mtd-nand-s3c2410.h>

#include <plat/gpio-cfg.h>
#include <plat/devs.h>
#include <plat/pm.h>
#include "gpio-cfg.h"
#include "devs.h"
#include "pm.h"

#include "common-smdk-s3c24xx.h"

Loading