aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorwanzongshun <mcuos.com@gmail.com>2009-02-11 20:56:04 -0500
committerRussell King <rmk+kernel@arm.linux.org.uk>2009-02-12 06:10:23 -0500
commit9ee8c9f0124dd70779c400459d57bdbbed60fcfe (patch)
treebeb70007c61758a3b31bfd3ea0006bf6d1c95923 /arch/arm
parente9fc78230cb77647eb79d4b2f7c4d6c070f611f1 (diff)
[ARM] 5392/1: Delete redundant macros for w90p910
Delete the macros W90X900_RES and W90X900_DEVICE I thought it will be better to define the structures for each device directly. Signed-off-by: Wan ZongShun <mcuos.com@gmail.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-w90x900/cpu.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/arch/arm/mach-w90x900/cpu.h b/arch/arm/mach-w90x900/cpu.h
index 001d50915e38..de29ddcb9459 100644
--- a/arch/arm/mach-w90x900/cpu.h
+++ b/arch/arm/mach-w90x900/cpu.h
@@ -46,28 +46,6 @@ extern void w90p910_map_io(struct map_desc *mach_desc, int size);
46extern struct platform_device w90p910_serial_device; 46extern struct platform_device w90p910_serial_device;
47extern struct sys_timer w90x900_timer; 47extern struct sys_timer w90x900_timer;
48 48
49#define W90X900_RES(name) \
50struct resource w90x900_##name##_resource[] = { \
51 [0] = { \
52 .start = name##_PA, \
53 .end = name##_PA + 0x0ff, \
54 .flags = IORESOURCE_MEM, \
55 }, \
56 [1] = { \
57 .start = IRQ_##name, \
58 .end = IRQ_##name, \
59 .flags = IORESOURCE_IRQ, \
60 } \
61}
62
63#define W90X900_DEVICE(devname, regname, devid, platdevname) \
64struct platform_device w90x900_##devname = { \
65 .name = platdevname, \
66 .id = devid, \
67 .num_resources = ARRAY_SIZE(w90x900_##regname##_resource), \
68 .resource = w90x900_##regname##_resource, \
69}
70
71#define W90X900_8250PORT(name) \ 49#define W90X900_8250PORT(name) \
72{ \ 50{ \
73 .membase = name##_BA, \ 51 .membase = name##_BA, \