diff options
author | Jamie Iles <jamie@jamieiles.com> | 2011-05-23 05:22:51 -0400 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2011-05-24 21:20:52 -0400 |
commit | 78352282f3960fa2a60af363749c14b4c138bc63 (patch) | |
tree | 16a5ed16a9bd93db834638487899cc233eb2b252 | |
parent | 3dfad123e81cdf11642aa63da1149ee71a369d2d (diff) |
mtd: s3c2410: remove CONFIG_MTD_PARTITIONS test
MTD is now always build with partitioning support so this can be
removed.
Cc: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Jamie Iles <jamie@jamieiles.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
-rw-r--r-- | arch/arm/mach-s3c2410/mach-amlm5900.c | 5 | ||||
-rw-r--r-- | arch/arm/mach-s3c2410/mach-tct_hammer.c | 6 |
2 files changed, 0 insertions, 11 deletions
diff --git a/arch/arm/mach-s3c2410/mach-amlm5900.c b/arch/arm/mach-s3c2410/mach-amlm5900.c index 44440cbd7620..dabc141243f3 100644 --- a/arch/arm/mach-s3c2410/mach-amlm5900.c +++ b/arch/arm/mach-s3c2410/mach-amlm5900.c | |||
@@ -58,8 +58,6 @@ | |||
58 | #include <plat/cpu.h> | 58 | #include <plat/cpu.h> |
59 | #include <plat/gpio-cfg.h> | 59 | #include <plat/gpio-cfg.h> |
60 | 60 | ||
61 | #ifdef CONFIG_MTD_PARTITIONS | ||
62 | |||
63 | #include <linux/mtd/mtd.h> | 61 | #include <linux/mtd/mtd.h> |
64 | #include <linux/mtd/partitions.h> | 62 | #include <linux/mtd/partitions.h> |
65 | #include <linux/mtd/map.h> | 63 | #include <linux/mtd/map.h> |
@@ -113,7 +111,6 @@ static struct platform_device amlm5900_device_nor = { | |||
113 | .num_resources = 1, | 111 | .num_resources = 1, |
114 | .resource = &amlm5900_nor_resource, | 112 | .resource = &amlm5900_nor_resource, |
115 | }; | 113 | }; |
116 | #endif | ||
117 | 114 | ||
118 | static struct map_desc amlm5900_iodesc[] __initdata = { | 115 | static struct map_desc amlm5900_iodesc[] __initdata = { |
119 | }; | 116 | }; |
@@ -158,9 +155,7 @@ static struct platform_device *amlm5900_devices[] __initdata = { | |||
158 | &s3c_device_rtc, | 155 | &s3c_device_rtc, |
159 | &s3c_device_usbgadget, | 156 | &s3c_device_usbgadget, |
160 | &s3c_device_sdi, | 157 | &s3c_device_sdi, |
161 | #ifdef CONFIG_MTD_PARTITIONS | ||
162 | &amlm5900_device_nor, | 158 | &amlm5900_device_nor, |
163 | #endif | ||
164 | }; | 159 | }; |
165 | 160 | ||
166 | static void __init amlm5900_map_io(void) | 161 | static void __init amlm5900_map_io(void) |
diff --git a/arch/arm/mach-s3c2410/mach-tct_hammer.c b/arch/arm/mach-s3c2410/mach-tct_hammer.c index a15d0621c22f..43c2b831b9e8 100644 --- a/arch/arm/mach-s3c2410/mach-tct_hammer.c +++ b/arch/arm/mach-s3c2410/mach-tct_hammer.c | |||
@@ -49,8 +49,6 @@ | |||
49 | #include <plat/devs.h> | 49 | #include <plat/devs.h> |
50 | #include <plat/cpu.h> | 50 | #include <plat/cpu.h> |
51 | 51 | ||
52 | #ifdef CONFIG_MTD_PARTITIONS | ||
53 | |||
54 | #include <linux/mtd/mtd.h> | 52 | #include <linux/mtd/mtd.h> |
55 | #include <linux/mtd/partitions.h> | 53 | #include <linux/mtd/partitions.h> |
56 | #include <linux/mtd/map.h> | 54 | #include <linux/mtd/map.h> |
@@ -91,8 +89,6 @@ static struct platform_device tct_hammer_device_nor = { | |||
91 | .resource = &tct_hammer_nor_resource, | 89 | .resource = &tct_hammer_nor_resource, |
92 | }; | 90 | }; |
93 | 91 | ||
94 | #endif | ||
95 | |||
96 | static struct map_desc tct_hammer_iodesc[] __initdata = { | 92 | static struct map_desc tct_hammer_iodesc[] __initdata = { |
97 | }; | 93 | }; |
98 | 94 | ||
@@ -133,9 +129,7 @@ static struct platform_device *tct_hammer_devices[] __initdata = { | |||
133 | &s3c_device_rtc, | 129 | &s3c_device_rtc, |
134 | &s3c_device_usbgadget, | 130 | &s3c_device_usbgadget, |
135 | &s3c_device_sdi, | 131 | &s3c_device_sdi, |
136 | #ifdef CONFIG_MTD_PARTITIONS | ||
137 | &tct_hammer_device_nor, | 132 | &tct_hammer_device_nor, |
138 | #endif | ||
139 | }; | 133 | }; |
140 | 134 | ||
141 | static void __init tct_hammer_map_io(void) | 135 | static void __init tct_hammer_map_io(void) |