summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-sa1100.h
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2016-05-04 11:50:02 +0200
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2016-05-21 17:07:16 +0200
commit814db2bc4c4e19530eae818354dceb861ceb9fb1 (patch)
treed6d10acc54478e6a0a5d04e91f29e7b73bad4cbf /drivers/rtc/rtc-sa1100.h
parenta9dbe558920e12ea286cd4479039df26991a95de (diff)
downloadlinux-814db2bc4c4e19530eae818354dceb861ceb9fb1.tar.gz
linux-814db2bc4c4e19530eae818354dceb861ceb9fb1.tar.bz2
linux-814db2bc4c4e19530eae818354dceb861ceb9fb1.zip
rtc: rv3029: hide unused i2c device table
The added support for SPI mode made it possible to configure the driver when I2C is disabled, leaving an unused device table: drivers/rtc/rtc-rv3029c2.c:794:29: error: 'rv3029_id' defined but not used [-Werror=unused-variable] This moves the table inside of the #ifdef section that has the only user, to avoid the harmless warning. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Fixes: d08f50dd0afc ("rtc: rv3029: Add support of RV3049") Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'drivers/rtc/rtc-sa1100.h')
0 files changed, 0 insertions, 0 deletions