summaryrefslogtreecommitdiffstats
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
parent7c7095aa423b9b14038abc08fba84b9d7a33d643 (diff)
downloadlinux-c0fc18c5bf016a9d56aee64974c1ccdb87f3c783.tar.gz
linux-c0fc18c5bf016a9d56aee64974c1ccdb87f3c783.tar.bz2
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.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;
}