diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2008-09-05 16:10:27 +0200 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-09-05 18:02:33 +0200 |
commit | c0fc18c5bf016a9d56aee64974c1ccdb87f3c783 (patch) | |
tree | a5269222c380d39846d477c68264247e601a31fc /arch/arm/mach-omap2/serial.c | |
parent | [ARM] omap: fix inappropriate casting in gpio.c (diff) | |
download | linux-c0fc18c5bf016a9d56aee64974c1ccdb87f3c783.tar.xz linux-c0fc18c5bf016a9d56aee64974c1ccdb87f3c783.zip |
[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() struct plat_serial8250_port *p = serial_platform_data + i; if (!(info->enabled_uarts & (1 << i))) { - p->membase = 0; + p->membase = NULL; p->mapbase = 0; continue; } |