Commit 031ddf93 authored by Tony Lindgren's avatar Tony Lindgren

ARM: OMAP: Fixed compile warning

Fixed compile warning
parent 6423237d
...@@ -49,7 +49,7 @@ omap_cfg_reg(const reg_cfg_t reg_cfg) ...@@ -49,7 +49,7 @@ omap_cfg_reg(const reg_cfg_t reg_cfg)
unsigned int mask, warn = 0; unsigned int mask, warn = 0;
if (cpu_is_omap7xx()) if (cpu_is_omap7xx())
return; return 0;
if (reg_cfg > ARRAY_SIZE(reg_cfg_table)) { if (reg_cfg > ARRAY_SIZE(reg_cfg_table)) {
printk(KERN_ERR "MUX: reg_cfg %d\n", reg_cfg); printk(KERN_ERR "MUX: reg_cfg %d\n", reg_cfg);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment