aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2/prm2xxx.h
diff options
context:
space:
mode:
authorGravatar Tero Kristo <t-kristo@ti.com> 2014-11-20 15:02:59 +0200
committerGravatar Tero Kristo <t-kristo@ti.com> 2015-03-31 21:26:36 +0300
commitab7b2ffcf576a49b51c240dcd68ca4b7cd60b84d (patch)
treed4d34e048713a8f7029ec525118469b7a79d35d8 /arch/arm/mach-omap2/prm2xxx.h
parentARM: OMAP2+: control: determine control module base address from DT (diff)
downloadlinux-ab7b2ffcf576a49b51c240dcd68ca4b7cd60b84d.tar.gz
linux-ab7b2ffcf576a49b51c240dcd68ca4b7cd60b84d.tar.bz2
linux-ab7b2ffcf576a49b51c240dcd68ca4b7cd60b84d.zip
ARM: OMAP2+: PRM: move SoC specific init calls within a generic API
This gets rid of need for some exported driver APIs, and simplifies the initialization of the PRM driver. Done in preparation to make PRM a separate driver. The init data is now also passed to the SoC specific implementations, allowing future expansion to add feature flags etc. Signed-off-by: Tero Kristo <t-kristo@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/prm2xxx.h')
-rw-r--r--arch/arm/mach-omap2/prm2xxx.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/prm2xxx.h b/arch/arm/mach-omap2/prm2xxx.h
index 9c91f4fac36d..9008a9e55a1a 100644
--- a/arch/arm/mach-omap2/prm2xxx.h
+++ b/arch/arm/mach-omap2/prm2xxx.h
@@ -124,7 +124,7 @@
extern int omap2xxx_clkdm_sleep(struct clockdomain *clkdm);
extern int omap2xxx_clkdm_wakeup(struct clockdomain *clkdm);
-extern int __init omap2xxx_prm_init(void);
+int __init omap2xxx_prm_init(const struct omap_prcm_init_data *data);
#endif