aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/serial.c
diff options
context:
space:
mode:
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()
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 }