[PATCH 2/4] ARM: OMAP2+: Move the stubbed prm and cm functions to prcm.c file and make them __weak.
From: paul@pwsan.com (Paul Walmsley)
Date: 2012-05-10 17:41:56
Also in:
linux-omap
From: paul@pwsan.com (Paul Walmsley)
Date: 2012-05-10 17:41:56
Also in:
linux-omap
Hi On Thu, 10 May 2012, R Sricharan wrote:
Some prm and cm registers read/write and status functions are built only for some custom OMAP2+ builds and are stubbed in header files for other builds under ifdef statements. But this results in adding new CONFIG_ARCH_OMAPXXX checks when SOCs are added in the future. So move them to a common place for OMAP2+ and make them 'weak' implementations.
Thanks for the patch. These stubs aren't needed any longer, so we can just get rid of them; no need to mark them __weak. I've got a patch to just drop them here to be posted soon as part of a larger PRCM cleanup. - Paul