aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/common.h
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2019-03-21 14:00:21 -0400
committerTony Lindgren <tony@atomide.com>2019-03-26 14:26:26 -0400
commit8b30919a4e3c7aba32dd72e8208147a6496cb16c (patch)
tree83ed5f84355452710524b9f6d81f1fb058d0876e /arch/arm/mach-omap2/common.h
parent70451127873fee41b966328e1617ccc04f6998e7 (diff)
ARM: OMAP2+: Handle reset quirks for dynamically allocated modules
For dynamically allocated struct omap_hwmod data, we need to populate the device IP specific reset quirks. Cc: Paul Walmsley <paul@pwsan.com> Cc: Tero Kristo <t-kristo@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/common.h')
-rw-r--r--arch/arm/mach-omap2/common.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/common.h b/arch/arm/mach-omap2/common.h
index 129455e822e4..6316da3623b3 100644
--- a/arch/arm/mach-omap2/common.h
+++ b/arch/arm/mach-omap2/common.h
@@ -336,6 +336,15 @@ static inline void omap5_secondary_hyp_startup(void)
336} 336}
337#endif 337#endif
338 338
339#ifdef CONFIG_SOC_DRA7XX
340extern int dra7xx_pciess_reset(struct omap_hwmod *oh);
341#else
342static inline int dra7xx_pciess_reset(struct omap_hwmod *oh)
343{
344 return 0;
345}
346#endif
347
339void pdata_quirks_init(const struct of_device_id *); 348void pdata_quirks_init(const struct of_device_id *);
340void omap_auxdata_legacy_init(struct device *dev); 349void omap_auxdata_legacy_init(struct device *dev);
341void omap_pcs_legacy_init(int irq, void (*rearm)(void)); 350void omap_pcs_legacy_init(int irq, void (*rearm)(void));