diff options
author | Lennert Buytenhek <buytenh@wantstofly.org> | 2006-03-23 07:59:08 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-03-23 07:59:08 -0500 |
commit | 7d420896256a4bffe44202f282fbdd4c74d779a8 (patch) | |
tree | 7724a659cbcfb78f6820f9cb919035106ca3234f /arch/arm/mach-omap2/serial.c | |
parent | 2e6e33bab6e1996a5dec9108fb467b52b841e7a8 (diff) |
[ARM] 3391/1: use PLAT8250_DEV_PLATFORM{,1} for platform device id instead of 0/1
Patch from Lennert Buytenhek
This patch changes iop3xx and omap2 and to use PLAT8250_DEV_PLATFORM{,1}
as platform device id instead of just hardcoding 0/1 directly.
Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-omap2/serial.c')
-rw-r--r-- | arch/arm/mach-omap2/serial.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/serial.c b/arch/arm/mach-omap2/serial.c index 24dd374224af..0884bc7c23b7 100644 --- a/arch/arm/mach-omap2/serial.c +++ b/arch/arm/mach-omap2/serial.c | |||
@@ -167,7 +167,7 @@ void __init omap_serial_init() | |||
167 | 167 | ||
168 | static struct platform_device serial_device = { | 168 | static struct platform_device serial_device = { |
169 | .name = "serial8250", | 169 | .name = "serial8250", |
170 | .id = 0, | 170 | .id = PLAT8250_DEV_PLATFORM, |
171 | .dev = { | 171 | .dev = { |
172 | .platform_data = serial_platform_data, | 172 | .platform_data = serial_platform_data, |
173 | }, | 173 | }, |