فهرست منبع

OMAP clock: resolve all remaining sparse warnings

Resolve all remaining sparse warnings in the OMAP clock code.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Paul Walmsley 15 سال پیش
والد
کامیت
d373019229
2فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 1 1
      arch/arm/plat-omap/clock.c
  2. 1 1
      arch/arm/plat-omap/include/plat/clock.h

+ 1 - 1
arch/arm/plat-omap/clock.c

@@ -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.

+ 1 - 1
arch/arm/plat-omap/include/plat/clock.h

@@ -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);