[ARM] ohci-pxa27x: use platform_get_{irq,resource} for the resource
authorEric Miao <eric.miao@marvell.com>
Fri, 3 Oct 2008 14:37:21 +0000 (22:37 +0800)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 7 Oct 2008 18:12:58 +0000 (19:12 +0100)
commit84bab7393b0da5086e133b7f333b800d26f7166b
tree6cc2d4bdc9137c8ebbc5edda3b54695c24a92b28
parent596050bc75a56ea4bd9942abafff6dca657da81c
[ARM] ohci-pxa27x: use platform_get_{irq,resource} for the resource

Depending on the order of how resource is defined in the platform
device is not good, use platform_get_{irq,resource} for the IRQ
and memory resources.

Signed-off-by: Eric Miao <eric.miao@marvell.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/usb/host/ohci-pxa27x.c