diff options
author | Nishant Kamat <nskamat@ti.com> | 2009-12-09 19:49:11 +0530 |
---|---|---|
committer | Santosh Shilimkar <santosh.shilimkar@ti.com> | 2009-12-10 23:04:20 +0530 |
commit | 480de0d52b61b36ef435fd033fda8772814bd638 (patch) | |
tree | 74dca16c8e647c21254c74a86b59fc1d510bd1b8 | |
parent | 3d88bfa3f82d223d8d7c3bad91a741c8df0a884c (diff) |
OMAP: Klocwork fix - error handling in gpmc.c
Signed-off-by: Nishant Kamat <nskamat@ti.com>
-rw-r--r-- | arch/arm/mach-omap2/gpmc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/gpmc.c b/arch/arm/mach-omap2/gpmc.c index f91934b2b092..c04e0ae074f8 100644 --- a/arch/arm/mach-omap2/gpmc.c +++ b/arch/arm/mach-omap2/gpmc.c @@ -430,6 +430,9 @@ void __init gpmc_init(void) } else if (cpu_is_omap44xx()) { ck = "gpmc_fck"; l = OMAP44XX_GPMC_BASE; + } else { + printk(KERN_ERR "%s Unknown platform\n", __FUNCTION__); + BUG(); } gpmc_l3_clk = clk_get(NULL, ck); |