]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/arm/mach-omap2/clockdomain.c
fix sparse, checkpatch warnings in OMAP2/3 PRCM/PM code
[linux-2.6-omap-h63xx.git] / arch / arm / mach-omap2 / clockdomain.c
index 401abc96d4cdad5e18ca3e2d5deabd395fa6ca56..ca944eccba975ad1a1c46686d6d00c818f7f183a 100644 (file)
@@ -134,7 +134,7 @@ static void _clkdm_del_autodeps(struct clockdomain *clkdm)
 }
 
 
-struct clockdomain *_clkdm_lookup(const char *name)
+static struct clockdomain *_clkdm_lookup(const char *name)
 {
        struct clockdomain *clkdm, *temp_clkdm;
 
@@ -167,7 +167,8 @@ struct clockdomain *_clkdm_lookup(const char *name)
  * pointer to an array of clockdomain-powerdomain autodependencies was
  * provided, register those.  No return value.
  */
-void clkdm_init(struct clockdomain **clkdms, struct clkdm_pwrdm_autodep *init_autodeps)
+void clkdm_init(struct clockdomain **clkdms,
+               struct clkdm_pwrdm_autodep *init_autodeps)
 {
        struct clockdomain **c = NULL;
        struct clkdm_pwrdm_autodep *autodep = NULL;