Skip to content

Commit

Permalink
ARM: samsung: move platform_data definitions
Browse files Browse the repository at this point in the history
Platform data for device drivers should be defined in
include/linux/platform_data/*.h, not in the architecture
and platform specific directories.

This moves such data out of the samsung include directories

Signed-off-by: Arnd Bergmann <[email protected]>
Acked-by: Mark Brown <[email protected]>
Acked-by: Greg Kroah-Hartman <[email protected]>
Acked-by: Nicolas Pitre <[email protected]>
Acked-by: Mauro Carvalho Chehab <[email protected]>
Cc: Kukjin Kim <[email protected]>
Cc: Kyungmin Park <[email protected]>
Cc: Ben Dooks <[email protected]>
Cc: Jeff Garzik <[email protected]>
Cc: Guenter Roeck <[email protected]>
Cc: "Wolfram Sang (embedded platforms)" <[email protected]>
Cc: Dmitry Torokhov <[email protected]>
Cc: Bryan Wu <[email protected]>
Cc: Richard Purdie <[email protected]>
Cc: Sylwester Nawrocki <[email protected]>
Cc: Chris Ball <[email protected]>
Cc: David Woodhouse <[email protected]>
Cc: Grant Likely <[email protected]>
Cc: Felipe Balbi <[email protected]>
Cc: Alan Stern <[email protected]>
Cc: Sangbeom Kim <[email protected]>
Cc: Liam Girdwood <[email protected]>
Cc: [email protected]
  • Loading branch information
arndb committed Sep 19, 2012
1 parent c02cecb commit 436d42c
Show file tree
Hide file tree
Showing 107 changed files with 164 additions and 164 deletions.
2 changes: 1 addition & 1 deletion arch/arm/mach-exynos/dev-audio.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#include <linux/gpio.h>

#include <plat/gpio-cfg.h>
#include <plat/audio.h>
#include <linux/platform_data/asoc-s3c.h>

#include <mach/map.h>
#include <mach/dma.h>
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-exynos/dev-ohci.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

#include <mach/irqs.h>
#include <mach/map.h>
#include <mach/ohci.h>
#include <linux/platform_data/usb-exynos.h>

#include <plat/devs.h>
#include <plat/usb-phy.h>
Expand Down
6 changes: 3 additions & 3 deletions arch/arm/mach-exynos/mach-nuri.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,14 @@
#include <plat/devs.h>
#include <plat/fb.h>
#include <plat/sdhci.h>
#include <plat/ehci.h>
#include <linux/platform_data/usb-ehci-s5p.h>
#include <plat/clock.h>
#include <plat/gpio-cfg.h>
#include <plat/iic.h>
#include <linux/platform_data/i2c-s3c2410.h>
#include <plat/mfc.h>
#include <plat/fimc-core.h>
#include <plat/camport.h>
#include <plat/mipi_csis.h>
#include <linux/platform_data/mipi-csis.h>

#include <mach/map.h>

Expand Down
6 changes: 3 additions & 3 deletions arch/arm/mach-exynos/mach-origen.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,15 @@
#include <plat/cpu.h>
#include <plat/devs.h>
#include <plat/sdhci.h>
#include <plat/iic.h>
#include <plat/ehci.h>
#include <linux/platform_data/i2c-s3c2410.h>
#include <linux/platform_data/usb-ehci-s5p.h>
#include <plat/clock.h>
#include <plat/gpio-cfg.h>
#include <plat/backlight.h>
#include <plat/fb.h>
#include <plat/mfc.h>

#include <mach/ohci.h>
#include <linux/platform_data/usb-exynos.h>
#include <mach/map.h>

#include <drm/exynos_drm.h>
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-exynos/mach-smdk4x12.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
#include <plat/devs.h>
#include <plat/fb.h>
#include <plat/gpio-cfg.h>
#include <plat/iic.h>
#include <linux/platform_data/i2c-s3c2410.h>
#include <plat/keypad.h>
#include <plat/mfc.h>
#include <plat/regs-fb.h>
Expand Down
6 changes: 3 additions & 3 deletions arch/arm/mach-exynos/mach-smdkv310.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@
#include <plat/fb.h>
#include <plat/keypad.h>
#include <plat/sdhci.h>
#include <plat/iic.h>
#include <linux/platform_data/i2c-s3c2410.h>
#include <plat/gpio-cfg.h>
#include <plat/backlight.h>
#include <plat/mfc.h>
#include <plat/ehci.h>
#include <linux/platform_data/usb-ehci-s5p.h>
#include <plat/clock.h>

#include <mach/map.h>
#include <mach/ohci.h>
#include <linux/platform_data/usb-exynos.h>

#include <drm/exynos_drm.h>
#include "common.h"
Expand Down
4 changes: 2 additions & 2 deletions arch/arm/mach-exynos/mach-universal_c210.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
#include <plat/clock.h>
#include <plat/cpu.h>
#include <plat/devs.h>
#include <plat/iic.h>
#include <linux/platform_data/i2c-s3c2410.h>
#include <plat/gpio-cfg.h>
#include <plat/fb.h>
#include <plat/mfc.h>
Expand All @@ -43,7 +43,7 @@
#include <plat/fimc-core.h>
#include <plat/s5p-time.h>
#include <plat/camport.h>
#include <plat/mipi_csis.h>
#include <linux/platform_data/mipi-csis.h>

#include <mach/map.h>

Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-exynos/setup-i2c0.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
struct platform_device; /* don't need the contents */

#include <linux/gpio.h>
#include <plat/iic.h>
#include <linux/platform_data/i2c-s3c2410.h>
#include <plat/gpio-cfg.h>
#include <plat/cpu.h>

Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-exynos/setup-i2c1.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
struct platform_device; /* don't need the contents */

#include <linux/gpio.h>
#include <plat/iic.h>
#include <linux/platform_data/i2c-s3c2410.h>
#include <plat/gpio-cfg.h>

void s3c_i2c1_cfg_gpio(struct platform_device *dev)
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-exynos/setup-i2c2.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
struct platform_device; /* don't need the contents */

#include <linux/gpio.h>
#include <plat/iic.h>
#include <linux/platform_data/i2c-s3c2410.h>
#include <plat/gpio-cfg.h>

void s3c_i2c2_cfg_gpio(struct platform_device *dev)
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-exynos/setup-i2c3.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
struct platform_device; /* don't need the contents */

#include <linux/gpio.h>
#include <plat/iic.h>
#include <linux/platform_data/i2c-s3c2410.h>
#include <plat/gpio-cfg.h>

void s3c_i2c3_cfg_gpio(struct platform_device *dev)
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-exynos/setup-i2c4.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
struct platform_device; /* don't need the contents */

#include <linux/gpio.h>
#include <plat/iic.h>
#include <linux/platform_data/i2c-s3c2410.h>
#include <plat/gpio-cfg.h>

void s3c_i2c4_cfg_gpio(struct platform_device *dev)
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-exynos/setup-i2c5.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
struct platform_device; /* don't need the contents */

#include <linux/gpio.h>
#include <plat/iic.h>
#include <linux/platform_data/i2c-s3c2410.h>
#include <plat/gpio-cfg.h>

void s3c_i2c5_cfg_gpio(struct platform_device *dev)
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-exynos/setup-i2c6.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
struct platform_device; /* don't need the contents */

#include <linux/gpio.h>
#include <plat/iic.h>
#include <linux/platform_data/i2c-s3c2410.h>
#include <plat/gpio-cfg.h>

void s3c_i2c6_cfg_gpio(struct platform_device *dev)
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-exynos/setup-i2c7.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
struct platform_device; /* don't need the contents */

#include <linux/gpio.h>
#include <plat/iic.h>
#include <linux/platform_data/i2c-s3c2410.h>
#include <plat/gpio-cfg.h>

void s3c_i2c7_cfg_gpio(struct platform_device *dev)
Expand Down
4 changes: 2 additions & 2 deletions arch/arm/mach-s3c24xx/common-smdk.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@
#include <asm/irq.h>

#include <mach/regs-gpio.h>
#include <mach/leds-gpio.h>
#include <linux/platform_data/leds-s3c24xx.h>

#include <plat/nand.h>
#include <linux/platform_data/mtd-nand-s3c2410.h>

#include <plat/common-smdk.h>
#include <plat/gpio-cfg.h>
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-s3c24xx/mach-amlm5900.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
#include <mach/regs-lcd.h>
#include <mach/regs-gpio.h>

#include <plat/iic.h>
#include <linux/platform_data/i2c-s3c2410.h>
#include <plat/devs.h>
#include <plat/cpu.h>
#include <plat/gpio-cfg.h>
Expand Down
6 changes: 3 additions & 3 deletions arch/arm/mach-s3c24xx/mach-anubis.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
#include <mach/regs-gpio.h>
#include <mach/regs-mem.h>
#include <mach/regs-lcd.h>
#include <plat/nand.h>
#include <plat/iic.h>
#include <linux/platform_data/mtd-nand-s3c2410.h>
#include <linux/platform_data/i2c-s3c2410.h>

#include <linux/mtd/mtd.h>
#include <linux/mtd/nand.h>
Expand All @@ -53,7 +53,7 @@
#include <plat/clock.h>
#include <plat/devs.h>
#include <plat/cpu.h>
#include <plat/audio-simtec.h>
#include <linux/platform_data/asoc-s3c24xx_simtec.h>

#include "simtec.h"
#include "common.h"
Expand Down
6 changes: 3 additions & 3 deletions arch/arm/mach-s3c24xx/mach-at2440evb.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
#include <mach/regs-gpio.h>
#include <mach/regs-mem.h>
#include <mach/regs-lcd.h>
#include <plat/nand.h>
#include <plat/iic.h>
#include <linux/platform_data/mtd-nand-s3c2410.h>
#include <linux/platform_data/i2c-s3c2410.h>

#include <linux/mtd/mtd.h>
#include <linux/mtd/nand.h>
Expand All @@ -47,7 +47,7 @@
#include <plat/clock.h>
#include <plat/devs.h>
#include <plat/cpu.h>
#include <plat/mci.h>
#include <linux/platform_data/mmc-s3cmci.h>

#include "common.h"

Expand Down
8 changes: 4 additions & 4 deletions arch/arm/mach-s3c24xx/mach-bast.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@
#include <mach/regs-mem.h>
#include <mach/regs-lcd.h>

#include <plat/hwmon.h>
#include <plat/nand.h>
#include <plat/iic.h>
#include <linux/platform_data/hwmon-s3c.h>
#include <linux/platform_data/mtd-nand-s3c2410.h>
#include <linux/platform_data/i2c-s3c2410.h>
#include <mach/fb.h>

#include <linux/mtd/mtd.h>
Expand All @@ -62,7 +62,7 @@
#include <plat/cpu.h>
#include <plat/cpu-freq.h>
#include <plat/gpio-cfg.h>
#include <plat/audio-simtec.h>
#include <linux/platform_data/asoc-s3c24xx_simtec.h>

#include "simtec.h"
#include "common.h"
Expand Down
10 changes: 5 additions & 5 deletions arch/arm/mach-s3c24xx/mach-gta02.c
Original file line number Diff line number Diff line change
Expand Up @@ -73,21 +73,21 @@
#include <mach/regs-gpio.h>
#include <mach/fb.h>

#include <plat/usb-control.h>
#include <linux/platform_data/usb-ohci-s3c2410.h>
#include <mach/regs-mem.h>
#include <mach/hardware.h>

#include <mach/gta02.h>

#include <plat/regs-serial.h>
#include <plat/nand.h>
#include <linux/platform_data/mtd-nand-s3c2410.h>
#include <plat/devs.h>
#include <plat/cpu.h>
#include <plat/pm.h>
#include <plat/udc.h>
#include <linux/platform_data/usb-s3c2410_udc.h>
#include <plat/gpio-cfg.h>
#include <plat/iic.h>
#include <plat/ts.h>
#include <linux/platform_data/i2c-s3c2410.h>
#include <linux/platform_data/touchscreen-s3c2410.h>

#include "common.h"

Expand Down
8 changes: 4 additions & 4 deletions arch/arm/mach-s3c24xx/mach-h1940.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,17 +56,17 @@
#include <mach/h1940.h>
#include <mach/h1940-latch.h>
#include <mach/fb.h>
#include <plat/udc.h>
#include <plat/iic.h>
#include <linux/platform_data/usb-s3c2410_udc.h>
#include <linux/platform_data/i2c-s3c2410.h>

#include <plat/gpio-cfg.h>
#include <plat/clock.h>
#include <plat/devs.h>
#include <plat/cpu.h>
#include <plat/pll.h>
#include <plat/pm.h>
#include <plat/mci.h>
#include <plat/ts.h>
#include <linux/platform_data/mmc-s3cmci.h>
#include <linux/platform_data/touchscreen-s3c2410.h>

#include <sound/uda1380.h>

Expand Down
6 changes: 3 additions & 3 deletions arch/arm/mach-s3c24xx/mach-jive.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
#include <asm/mach/irq.h>

#include <plat/regs-serial.h>
#include <plat/nand.h>
#include <plat/iic.h>
#include <linux/platform_data/mtd-nand-s3c2410.h>
#include <linux/platform_data/i2c-s3c2410.h>

#include <mach/regs-power.h>
#include <mach/regs-gpio.h>
Expand All @@ -54,7 +54,7 @@
#include <plat/devs.h>
#include <plat/cpu.h>
#include <plat/pm.h>
#include <plat/udc.h>
#include <linux/platform_data/usb-s3c2410_udc.h>

static struct map_desc jive_iodesc[] __initdata = {
};
Expand Down
10 changes: 5 additions & 5 deletions arch/arm/mach-s3c24xx/mach-mini2440.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@

#include <plat/regs-serial.h>
#include <mach/regs-gpio.h>
#include <mach/leds-gpio.h>
#include <linux/platform_data/leds-s3c24xx.h>
#include <mach/regs-mem.h>
#include <mach/regs-lcd.h>
#include <mach/irqs.h>
#include <plat/nand.h>
#include <plat/iic.h>
#include <plat/mci.h>
#include <plat/udc.h>
#include <linux/platform_data/mtd-nand-s3c2410.h>
#include <linux/platform_data/i2c-s3c2410.h>
#include <linux/platform_data/mmc-s3cmci.h>
#include <linux/platform_data/usb-s3c2410_udc.h>

#include <linux/mtd/mtd.h>
#include <linux/mtd/nand.h>
Expand Down
8 changes: 4 additions & 4 deletions arch/arm/mach-s3c24xx/mach-n30.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,23 +33,23 @@
#include <asm/mach-types.h>

#include <mach/fb.h>
#include <mach/leds-gpio.h>
#include <linux/platform_data/leds-s3c24xx.h>
#include <mach/regs-gpio.h>
#include <mach/regs-lcd.h>

#include <asm/mach/arch.h>
#include <asm/mach/irq.h>
#include <asm/mach/map.h>

#include <plat/iic.h>
#include <linux/platform_data/i2c-s3c2410.h>
#include <plat/regs-serial.h>

#include <plat/clock.h>
#include <plat/cpu.h>
#include <plat/devs.h>
#include <plat/mci.h>
#include <linux/platform_data/mmc-s3cmci.h>
#include <plat/s3c2410.h>
#include <plat/udc.h>
#include <linux/platform_data/usb-s3c2410_udc.h>

#include "common.h"

Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-s3c24xx/mach-nexcoder.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
//#include <asm/debug-ll.h>
#include <mach/regs-gpio.h>
#include <plat/regs-serial.h>
#include <plat/iic.h>
#include <linux/platform_data/i2c-s3c2410.h>

#include <plat/gpio-cfg.h>
#include <plat/s3c2410.h>
Expand Down
4 changes: 2 additions & 2 deletions arch/arm/mach-s3c24xx/mach-osiris.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
#include <mach/regs-gpio.h>
#include <mach/regs-mem.h>
#include <mach/regs-lcd.h>
#include <plat/nand.h>
#include <plat/iic.h>
#include <linux/platform_data/mtd-nand-s3c2410.h>
#include <linux/platform_data/i2c-s3c2410.h>

#include <linux/mtd/mtd.h>
#include <linux/mtd/nand.h>
Expand Down
Loading

0 comments on commit 436d42c

Please sign in to comment.