fbdev: amifb: Mark driver struct with __refdata to prevent section mismatch warning
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Thu, 9 Nov 2023 22:01:53 +0000 (23:01 +0100)
committerHelge Deller <deller@gmx.de>
Fri, 10 Nov 2023 08:16:02 +0000 (09:16 +0100)
commit67e1ab5bb58a787809772eba14e7e758c765e2fd
tree24d3b8cdedfad89be8654e490e8b23555a7bd414
parentcca202a5e59578247cd7f0496056884f5c9cc338
fbdev: amifb: 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>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Helge Deller <deller@gmx.de>
drivers/video/fbdev/amifb.c