diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2008-09-05 10:10:27 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-09-05 12:02:33 -0400 |
commit | c0fc18c5bf016a9d56aee64974c1ccdb87f3c783 (patch) | |
tree | a5269222c380d39846d477c68264247e601a31fc /arch/arm/mach-omap2/serial.c | |
parent | 7c7095aa423b9b14038abc08fba84b9d7a33d643 (diff) |
[ARM] omap: fix lots of 'Using plain integer as NULL pointer'
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 7faa53c3a925..69651cf08305 100644 --- a/arch/arm/mach-omap2/serial.c +++ b/arch/arm/mach-omap2/serial.c | |||
@@ -108,7 +108,7 @@ void __init omap_serial_init() | |||
108 | struct plat_serial8250_port *p = serial_platform_data + i; | 108 | struct plat_serial8250_port *p = serial_platform_data + i; |
109 | 109 | ||
110 | if (!(info->enabled_uarts & (1 << i))) { | 110 | if (!(info->enabled_uarts & (1 << i))) { |
111 | p->membase = 0; | 111 | p->membase = NULL; |
112 | p->mapbase = 0; | 112 | p->mapbase = 0; |
113 | continue; | 113 | continue; |
114 | } | 114 | } |