]> asedeno.scripts.mit.edu Git - linux.git/commit
rtc: sd3078: make symbol 'sd3078_driver' static
authorWei Yongjun <weiyongjun1@huawei.com>
Wed, 16 Jan 2019 03:01:21 +0000 (03:01 +0000)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 22 Jan 2019 16:53:19 +0000 (17:53 +0100)
commitf724c6bee162be3a9cd3b9168414ca106e0cdfe2
tree9b3ae0ef067fbf9e2d860d12d17b7eca3849ad72
parentc8c97a4fb52c526be7a78c4c1e61a95cf1c915cc
rtc: sd3078: make symbol 'sd3078_driver' static

Fixes the following sparse warning:

drivers/rtc/rtc-sd3078.c:218:19: warning:
 symbol 'sd3078_driver' was not declared. Should it be static?

Fixes: 1d67a232105b ("rtc: sd3078: new driver.")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-sd3078.c