Skip to content
Commit 76384f31 authored by Sebastian Andrzej Siewior's avatar Sebastian Andrzej Siewior Committed by Alexandre Belloni
Browse files

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: default avatarSebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
parent 965271df
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment