rtc: at91rm9200: Mark driver struct with __refdata to prevent section mismatch warning
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Mon, 2 Oct 2023 08:05:19 +0000 (10:05 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Fri, 13 Oct 2023 10:29:08 +0000 (12:29 +0200)
commit5dbde0727a515df85b1773a1f6dd301194c763f4
tree161829e62cf639e5c47426a8a94a46ee4890e23e
parent2e2ad6393b430b643e607d49190e0b2628d5f035
rtc: at91rm9200: Mark driver struct with __refdata to prevent section mismatch warning

As described in the added code comment, a reference to .exit.text is ok
for drivers registered via module_platform_driver_probe(). Make this
explicit to prevent a section mismatch warning.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20231002080529.2535610-3-u.kleine-koenig@pengutronix.de
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-at91rm9200.c