Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 137142
b: refs/heads/master
c: 9ee8c9f
h: refs/heads/master
v: v3
  • Loading branch information
wanzongshun authored and Russell King committed Feb 12, 2009
1 parent 4983af4 commit fe49870
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 23 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e9fc78230cb77647eb79d4b2f7c4d6c070f611f1
refs/heads/master: 9ee8c9f0124dd70779c400459d57bdbbed60fcfe
22 changes: 0 additions & 22 deletions trunk/arch/arm/mach-w90x900/cpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,28 +46,6 @@ extern void w90p910_map_io(struct map_desc *mach_desc, int size);
extern struct platform_device w90p910_serial_device;
extern struct sys_timer w90x900_timer;

#define W90X900_RES(name) \
struct resource w90x900_##name##_resource[] = { \
[0] = { \
.start = name##_PA, \
.end = name##_PA + 0x0ff, \
.flags = IORESOURCE_MEM, \
}, \
[1] = { \
.start = IRQ_##name, \
.end = IRQ_##name, \
.flags = IORESOURCE_IRQ, \
} \
}

#define W90X900_DEVICE(devname, regname, devid, platdevname) \
struct platform_device w90x900_##devname = { \
.name = platdevname, \
.id = devid, \
.num_resources = ARRAY_SIZE(w90x900_##regname##_resource), \
.resource = w90x900_##regname##_resource, \
}

#define W90X900_8250PORT(name) \
{ \
.membase = name##_BA, \
Expand Down

0 comments on commit fe49870

Please sign in to comment.