diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 245058b3b0ef7d5d27b7c113d6199127d8cd5a8c..f5d9ef9c11b7bc277068303bcc905d134b618f99 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -769,7 +769,6 @@ config ARCH_S5P64X0 select HAVE_S3C2410_I2C if I2C select HAVE_S3C2410_WATCHDOG if WATCHDOG select HAVE_S3C_RTC if RTC_CLASS - select NEED_MACH_GPIO_H select SAMSUNG_ATAGS select SAMSUNG_WDT_RESET help @@ -788,7 +787,6 @@ config ARCH_S5PC100 select HAVE_S3C2410_I2C if I2C select HAVE_S3C2410_WATCHDOG if WATCHDOG select HAVE_S3C_RTC if RTC_CLASS - select NEED_MACH_GPIO_H select SAMSUNG_ATAGS select SAMSUNG_WDT_RESET help @@ -807,7 +805,6 @@ config ARCH_S5PV210 select HAVE_S3C2410_I2C if I2C select HAVE_S3C2410_WATCHDOG if WATCHDOG select HAVE_S3C_RTC if RTC_CLASS - select NEED_MACH_GPIO_H select NEED_MACH_MEMORY_H select SAMSUNG_ATAGS help diff --git a/arch/arm/mach-s5p64x0/common.c b/arch/arm/mach-s5p64x0/common.c index 9a43be002d784c973524371da5f72d916cc684fa..b56ffbd7cefe0dc7c71a1d6bf36bd5d942cab4b9 100644 --- a/arch/arm/mach-s5p64x0/common.c +++ b/arch/arm/mach-s5p64x0/common.c @@ -24,7 +24,6 @@ #include #include #include -#include #include #include @@ -39,6 +38,7 @@ #include #include #include +#include #include #include diff --git a/arch/arm/mach-s5p64x0/dev-audio.c b/arch/arm/mach-s5p64x0/dev-audio.c index 723d4773c3238050467b4f2defbb15d283ee731d..ea4a22822595e68deeede6d0e792c1936c7d8c7b 100644 --- a/arch/arm/mach-s5p64x0/dev-audio.c +++ b/arch/arm/mach-s5p64x0/dev-audio.c @@ -10,7 +10,6 @@ #include #include -#include #include #include @@ -18,6 +17,8 @@ #include #include #include +#include + static int s5p6440_cfg_i2s(struct platform_device *pdev) { diff --git a/arch/arm/mach-s5p64x0/include/mach/gpio.h b/arch/arm/mach-s5p64x0/include/mach/gpio-samsung.h similarity index 98% rename from arch/arm/mach-s5p64x0/include/mach/gpio.h rename to arch/arm/mach-s5p64x0/include/mach/gpio-samsung.h index cbd325e14477b89e28c0fc76e5c1117811d874a2..fec01a4e6463913a6edd33fa9f7568fbcb2eb041 100644 --- a/arch/arm/mach-s5p64x0/include/mach/gpio.h +++ b/arch/arm/mach-s5p64x0/include/mach/gpio-samsung.h @@ -1,5 +1,4 @@ -/* linux/arch/arm/mach-s5p64x0/include/mach/gpio.h - * +/* * Copyright (c) 2009-2010 Samsung Electronics Co., Ltd. * http://www.samsung.com * diff --git a/arch/arm/mach-s5p64x0/mach-smdk6440.c b/arch/arm/mach-s5p64x0/mach-smdk6440.c index 6840e197cb2db67a00b5e89b4dc5c540ef367d28..0373188674591e9239f674d74c784e206f94befc 100644 --- a/arch/arm/mach-s5p64x0/mach-smdk6440.c +++ b/arch/arm/mach-s5p64x0/mach-smdk6440.c @@ -39,6 +39,7 @@ #include #include #include +#include #include #include diff --git a/arch/arm/mach-s5p64x0/mach-smdk6450.c b/arch/arm/mach-s5p64x0/mach-smdk6450.c index fa1341c074ca3a922615dfacf06891cf5bc62d5b..e191d9019beb8de77d40b220c545618278ea678d 100644 --- a/arch/arm/mach-s5p64x0/mach-smdk6450.c +++ b/arch/arm/mach-s5p64x0/mach-smdk6450.c @@ -39,6 +39,7 @@ #include #include #include +#include #include #include diff --git a/arch/arm/mach-s5p64x0/setup-fb-24bpp.c b/arch/arm/mach-s5p64x0/setup-fb-24bpp.c index f346ee4af54de3048d91bae4a7021664fbc5a118..37252bece7d45fa9463d30db195d1f876b7afcdb 100644 --- a/arch/arm/mach-s5p64x0/setup-fb-24bpp.c +++ b/arch/arm/mach-s5p64x0/setup-fb-24bpp.c @@ -11,11 +11,11 @@ */ #include -#include #include #include #include +#include void s5p64x0_fb_gpio_setup_24bpp(void) { diff --git a/arch/arm/mach-s5p64x0/setup-i2c0.c b/arch/arm/mach-s5p64x0/setup-i2c0.c index 569b76ac98cb0c1733e108e223ff7af2d5db76f7..7589eb33624e0fa6cfde43b34f7a8fecd5eb4981 100644 --- a/arch/arm/mach-s5p64x0/setup-i2c0.c +++ b/arch/arm/mach-s5p64x0/setup-i2c0.c @@ -14,11 +14,11 @@ #include #include -#include struct platform_device; /* don't need the contents */ #include +#include #include #include "i2c.h" diff --git a/arch/arm/mach-s5p64x0/setup-i2c1.c b/arch/arm/mach-s5p64x0/setup-i2c1.c index 867374e6d0bcc076e18359e0138a6b5ef86f5c49..f7a949b3bc55787a6298627a29d39807ec3f2962 100644 --- a/arch/arm/mach-s5p64x0/setup-i2c1.c +++ b/arch/arm/mach-s5p64x0/setup-i2c1.c @@ -14,11 +14,11 @@ #include #include -#include struct platform_device; /* don't need the contents */ #include +#include #include #include "i2c.h" diff --git a/arch/arm/mach-s5p64x0/setup-sdhci-gpio.c b/arch/arm/mach-s5p64x0/setup-sdhci-gpio.c index 8410af0d12bf381ab343269eb1d81df81b944b51..c09c5834e2fde57a135614b73f6376770ddc9677 100644 --- a/arch/arm/mach-s5p64x0/setup-sdhci-gpio.c +++ b/arch/arm/mach-s5p64x0/setup-sdhci-gpio.c @@ -12,10 +12,10 @@ #include #include -#include #include #include +#include #include #include diff --git a/arch/arm/mach-s5p64x0/setup-spi.c b/arch/arm/mach-s5p64x0/setup-spi.c index 7664356720ca625ebd2022761dbf22f1f1069306..d19d1102e28c505d682b62b8b538f5bcb6bb2037 100644 --- a/arch/arm/mach-s5p64x0/setup-spi.c +++ b/arch/arm/mach-s5p64x0/setup-spi.c @@ -8,8 +8,8 @@ * published by the Free Software Foundation. */ -#include #include +#include #ifdef CONFIG_S3C64XX_DEV_SPI0 int s3c64xx_spi0_cfg_gpio(void) diff --git a/arch/arm/mach-s5pc100/dev-audio.c b/arch/arm/mach-s5pc100/dev-audio.c index 46f488b093916699a5571862206293350cf19f1d..d24f653cc0cf11360860212825bb9af591771147 100644 --- a/arch/arm/mach-s5pc100/dev-audio.c +++ b/arch/arm/mach-s5pc100/dev-audio.c @@ -10,7 +10,6 @@ #include #include -#include #include #include @@ -18,6 +17,7 @@ #include #include #include +#include static int s5pc100_cfg_i2s(struct platform_device *pdev) { diff --git a/arch/arm/mach-s5pc100/include/mach/gpio.h b/arch/arm/mach-s5pc100/include/mach/gpio-samsung.h similarity index 99% rename from arch/arm/mach-s5pc100/include/mach/gpio.h rename to arch/arm/mach-s5pc100/include/mach/gpio-samsung.h index 291c57504bab2b787f7a1133cd815711330647d3..fa239e9378f1b61b918f5873b62a1f2620e414fd 100644 --- a/arch/arm/mach-s5pc100/include/mach/gpio.h +++ b/arch/arm/mach-s5pc100/include/mach/gpio-samsung.h @@ -1,5 +1,4 @@ -/* arch/arm/mach-s5pc100/include/mach/gpio.h - * +/* * Copyright 2009 Samsung Electronics Co. * Byungho Min * diff --git a/arch/arm/mach-s5pc100/mach-smdkc100.c b/arch/arm/mach-s5pc100/mach-smdkc100.c index 668af3ac31f30a2d2beba748e1d95def5d1d98f8..0710139b52eb19a4a9a46daa6444a9d75252d8ae 100644 --- a/arch/arm/mach-s5pc100/mach-smdkc100.c +++ b/arch/arm/mach-s5pc100/mach-smdkc100.c @@ -31,6 +31,7 @@ #include #include +#include #include