summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-cmos.c
diff options
context:
space:
mode:
authorMarc Zyngier <maz@misterjones.org>2010-05-24 14:33:47 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2010-05-25 08:07:08 -0700
commit72cc8e51cfdde9007adab7d841ac4113b05b2c56 (patch)
treebe4b77d5861b92deaba1f99037075d89b8269748 /drivers/rtc/rtc-cmos.c
parente17ab5cbed795d3823da830f5e8d3ffe25a38446 (diff)
downloadblackbird-op-linux-72cc8e51cfdde9007adab7d841ac4113b05b2c56.tar.gz
blackbird-op-linux-72cc8e51cfdde9007adab7d841ac4113b05b2c56.zip
rtc-ds1302: add some abstraction for new platform support
The current ds1302 driver (or at least the one that lives in /drivers/rtc) seems to be designed for memory mapped devices only. This make it quite hard to add support for GPIO-based implementations (as this is the case for the upcoming Arcom Vulcan). This patch moves the direct register access to inline functions with explicit names. Still not as good as a proper platform driver, but at least neater. Signed-off-by: Marc Zyngier <maz@misterjones.org> Cc: Paul Gortmaker <p_gortmaker@yahoo.com> Cc: Alessandro Zummo <a.zummo@towertech.it> Cc: Paul Mundt <lethal@linux-sh.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/rtc/rtc-cmos.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud