media: sh_vou: Drop bogus __refdata annotation
authorGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 11 Dec 2020 13:38:06 +0000 (14:38 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 12 Jan 2021 17:16:09 +0000 (18:16 +0100)
Since commit 4c62e9764ab403d4 ("Drivers: media: remove __dev*
attributes.") in v3.8, the SuperH Video Output Unit driver no longer has
any code or data located in initmem, hence there is no need to annotate
the sh_vou structure with __refdata.  Drop the annotation, to avoid
suppressing future section warnings.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/sh_vou.c

index b22dc1d..4ac4844 100644 (file)
@@ -1355,7 +1355,7 @@ static int sh_vou_remove(struct platform_device *pdev)
        return 0;
 }
 
-static struct platform_driver __refdata sh_vou = {
+static struct platform_driver sh_vou = {
        .remove  = sh_vou_remove,
        .driver  = {
                .name   = "sh-vou",