diff options
Diffstat (limited to 'arch/arm/plat-omap')
-rw-r--r-- | arch/arm/plat-omap/include/mach/clockdomain.h | 3 | ||||
-rw-r--r-- | arch/arm/plat-omap/include/mach/powerdomain.h | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm/plat-omap/include/mach/clockdomain.h b/arch/arm/plat-omap/include/mach/clockdomain.h index b9d0dd2da89b..99ebd886f134 100644 --- a/arch/arm/plat-omap/include/mach/clockdomain.h +++ b/arch/arm/plat-omap/include/mach/clockdomain.h | |||
@@ -95,7 +95,8 @@ int clkdm_register(struct clockdomain *clkdm); | |||
95 | int clkdm_unregister(struct clockdomain *clkdm); | 95 | int clkdm_unregister(struct clockdomain *clkdm); |
96 | struct clockdomain *clkdm_lookup(const char *name); | 96 | struct clockdomain *clkdm_lookup(const char *name); |
97 | 97 | ||
98 | int clkdm_for_each(int (*fn)(struct clockdomain *clkdm)); | 98 | int clkdm_for_each(int (*fn)(struct clockdomain *clkdm, void *user), |
99 | void *user); | ||
99 | struct powerdomain *clkdm_get_pwrdm(struct clockdomain *clkdm); | 100 | struct powerdomain *clkdm_get_pwrdm(struct clockdomain *clkdm); |
100 | 101 | ||
101 | void omap2_clkdm_allow_idle(struct clockdomain *clkdm); | 102 | void omap2_clkdm_allow_idle(struct clockdomain *clkdm); |
diff --git a/arch/arm/plat-omap/include/mach/powerdomain.h b/arch/arm/plat-omap/include/mach/powerdomain.h index 52663fc549d2..de03f3dbbf3d 100644 --- a/arch/arm/plat-omap/include/mach/powerdomain.h +++ b/arch/arm/plat-omap/include/mach/powerdomain.h | |||
@@ -128,7 +128,8 @@ int pwrdm_register(struct powerdomain *pwrdm); | |||
128 | int pwrdm_unregister(struct powerdomain *pwrdm); | 128 | int pwrdm_unregister(struct powerdomain *pwrdm); |
129 | struct powerdomain *pwrdm_lookup(const char *name); | 129 | struct powerdomain *pwrdm_lookup(const char *name); |
130 | 130 | ||
131 | int pwrdm_for_each(int (*fn)(struct powerdomain *pwrdm)); | 131 | int pwrdm_for_each(int (*fn)(struct powerdomain *pwrdm, void *user), |
132 | void *user); | ||
132 | 133 | ||
133 | int pwrdm_add_clkdm(struct powerdomain *pwrdm, struct clockdomain *clkdm); | 134 | int pwrdm_add_clkdm(struct powerdomain *pwrdm, struct clockdomain *clkdm); |
134 | int pwrdm_del_clkdm(struct powerdomain *pwrdm, struct clockdomain *clkdm); | 135 | int pwrdm_del_clkdm(struct powerdomain *pwrdm, struct clockdomain *clkdm); |