summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/omap_hwmod_common_data.c
diff options
context:
space:
mode:
authorR Sricharan <r.sricharan@ti.com>2012-07-04 05:04:00 -0600
committerPaul Walmsley <paul@pwsan.com>2012-07-04 05:04:00 -0600
commit3f4990f44a5dcf15a053a041c813fa73ffa75608 (patch)
treee6d09bdbfe81d5fe379e8fb755ec899a1e220d2c /arch/arm/mach-omap2/omap_hwmod_common_data.c
parentbed9d1bb4ed8c9bdaca77d31a2562c3a9dae43a7 (diff)
downloadlinux-3f4990f44a5dcf15a053a041c813fa73ffa75608.tar.bz2
ARM: OMAP2+: PRM/CM: Move the stubbed prm and cm functions to prcm.c file and make them __weak
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. This way no new ifdefs would be required in the future and also cleans up the existing code. Signed-off-by: R Sricharan <r.sricharan@ti.com> [paul@pwsan.com: unsplit quoted strings; moved PRM functions to mach-omap2/prm_common.c; resolved sparse warnings] Signed-off-by: Paul Walmsley <paul@pwsan.com>
Diffstat (limited to 'arch/arm/mach-omap2/omap_hwmod_common_data.c')
0 files changed, 0 insertions, 0 deletions