]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: ds1685: fix build error with make W=1
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Fri, 22 Nov 2019 10:22:08 +0000 (11:22 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 27 Nov 2019 08:31:13 +0000 (09:31 +0100)
commit5420121a84cd71b0c47d7b86571135caeb2d7761
tree233784cd8c2ef98c1af3afdce3ccbdb8728cc13e
parent786edfd9f2ba8684105333ddf8ebcce734dff820
rtc: ds1685: fix build error with make W=1

Fix the following parsing errors when building with W=1:
drivers/rtc/rtc-ds1685.c:1053: error: Cannot parse struct or union!
drivers/rtc/rtc-ds1685.c:1062: error: Cannot parse struct or union!
drivers/rtc/rtc-ds1685.c:1363: warning: cannot understand function prototype: 'struct platform_driver ds1685_rtc_driver = '

Cc: Joshua Kinard <kumba@gentoo.org>
Link: https://lore.kernel.org/r/20191122102212.400158-5-alexandre.belloni@bootlin.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-ds1685.c