diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2018-02-09 19:05:34 +0100 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2018-03-17 14:20:47 +0100 |
commit | 76384f319a9adff8cb9a87d64c62f61a5d3b7c09 (patch) | |
tree | a273e9451d072696a2627163a2fc89c182015d29 /drivers/rtc/rtc-max8998.c | |
parent | rtc: pcf85063: remove useless indirection (diff) | |
download | linux-76384f319a9adff8cb9a87d64c62f61a5d3b7c09.tar.xz linux-76384f319a9adff8cb9a87d64c62f61a5d3b7c09.zip |
rtc: m41t80: move m41t80_rtc_mutex to the block where it is used
Without CONFIG_RTC_DRV_M41T80_WDT the compiler complains:
|drivers/rtc/rtc-m41t80.c:76 ‘m41t80_rtc_mutex’ defined but not used [-Wunused-variable]
Move the variable to the block where it is used.
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/rtc/rtc-max8998.c')
0 files changed, 0 insertions, 0 deletions