aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/serial.c
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2008-09-05 15:10:27 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-09-05 17:02:33 +0100
commitc0fc18c5bf016a9d56aee64974c1ccdb87f3c783 (patch)
treea5269222c380d39846d477c68264247e601a31fc /arch/arm/mach-omap2/serial.c
parent[ARM] omap: fix inappropriate casting in gpio.c (diff)
downloadlinux-dev-c0fc18c5bf016a9d56aee64974c1ccdb87f3c783.tar.xz
linux-dev-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.c2
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;
}