rtc: rp5c01: add NVRAM support
authorGeert Uytterhoeven <geert@linux-m68k.org>
Wed, 11 Aug 2010 01:02:22 +0000 (18:02 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Aug 2010 15:59:08 +0000 (08:59 -0700)
commit22e3d63147c9608dc48ac6a6d9973eba8672efbe
tree21a829a2685ad6afd8284cd3be2a702ab5810e46
parentde639c311689f4dbf3f9df734a8243e7e44b79da
rtc: rp5c01: add NVRAM support

The Ricoh RP5C01 RTC contains 26 x 4 bits of NVRAM.  Provide access to it
via a sysfs "nvram" attribute file.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Wan ZongShun <mcuos.com@gmail.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-rp5c01.c