rtc: ds1307: Move register definitions to start of file
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Fri, 25 Jan 2019 14:35:54 +0000 (15:35 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 7 Feb 2019 19:55:39 +0000 (20:55 +0100)
commit92cbf12fc200595611511fb3c5ab17d2627fa43c
treebf32b33b72bd50a3a2cce271e25d513391b25d51
parent13a929f38ad742200270389cedc78c1859726bd8
rtc: ds1307: Move register definitions to start of file

This allows to use the register offsets in all functions
which is needed in one of the next patches.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-ds1307.c