summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-rs5c313.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2016-03-01 17:59:57 +0100
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2016-03-14 17:08:31 +0100
commit64232fc33a5bcc29aeb001e1bee80e17a889b4fb (patch)
treea8cc15a572bb65d32b658c36a6a87748b14dd18c /drivers/rtc/rtc-rs5c313.c
parentrtc: pcf8523: properly handle oscillator stop bit (diff)
downloadlinux-64232fc33a5bcc29aeb001e1bee80e17a889b4fb.tar.xz
linux-64232fc33a5bcc29aeb001e1bee80e17a889b4fb.zip
rtc: generic: allow building on all architectures
There are four architectures using this driver, but since we can build it with COMPILE_TEST, we should try dealing with the absence of the asm/rtc.h header file, to avoid getting a build error: drivers/rtc/rtc-generic.c:12:21: fatal error: asm/rtc.h: No such file or directory This creates an alternative use of the driver, allowing architectures to pass a set of rtc_class_ops in platform data. We can convert the four architectures to use this and then remove the original code. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'drivers/rtc/rtc-rs5c313.c')
0 files changed, 0 insertions, 0 deletions