summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-ds1302.c
diff options
context:
space:
mode:
authorArnd Bergmann2017-01-13 16:32:51 +0100
committerAlexandre Belloni2017-01-13 17:51:52 +0100
commit0404abb221d16fa9c56139bf83929f034a2007f3 (patch)
treebe36c32aad1f13bfd18e5a090e3711692b0e7a13 /drivers/rtc/rtc-ds1302.c
parentrtc: add STM32 RTC driver (diff)
downloadkernel-qcow2-linux-0404abb221d16fa9c56139bf83929f034a2007f3.tar.gz
kernel-qcow2-linux-0404abb221d16fa9c56139bf83929f034a2007f3.tar.xz
kernel-qcow2-linux-0404abb221d16fa9c56139bf83929f034a2007f3.zip
rtc: stm32: remove __exit annotation on remove callback
The remove function can be called at runtime for a manual 'unbind' operation and must not be left out from a built-in driver, as kbuild complains: `stm32_rtc_remove' referenced in section `.data.stm32_rtc_driver' of drivers/rtc/rtc-stm32.o: defined in discarded section `.exit.text' of drivers/rtc/rtc-stm32.o This removes the extraneous annotation. Fixes: 4e64350f42e2 ("rtc: add STM32 RTC driver") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'drivers/rtc/rtc-ds1302.c')
0 files changed, 0 insertions, 0 deletions