OMAP clock: resolve all remaining sparse warnings
authorPaul Walmsley <paul@pwsan.com>
Wed, 27 Jan 2010 03:13:11 +0000 (20:13 -0700)
committerPaul Walmsley <paul@pwsan.com>
Fri, 29 Jan 2010 17:14:22 +0000 (10:14 -0700)
Resolve all remaining sparse warnings in the OMAP clock code.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/plat-omap/clock.c
arch/arm/plat-omap/include/plat/clock.h

index e0f72f48b8b191245b6e399f8a8e86377c1557ce..0ae27538385d7b69f46afddb4947e5f099939d16 100644 (file)
@@ -173,7 +173,7 @@ EXPORT_SYMBOL(clk_get_parent);
  * OMAP specific clock functions shared between omap1 and omap2
  *-------------------------------------------------------------------------*/
 
-unsigned int __initdata mpurate;
+int __initdata mpurate;
 
 /*
  * By default we use the rate set by the bootloader.
index 896cedc923a7f1c51aeabc96bfc4dab5412e5742..e41313208125087fd82dab379816d24249bb5788 100644 (file)
@@ -123,7 +123,7 @@ struct clk_functions {
 #endif
 };
 
-extern unsigned int mpurate;
+extern int mpurate;
 
 extern int clk_init(struct clk_functions *custom_clocks);
 extern void clk_preinit(struct clk *clk);