Skip to content

Commit d87123a

Browse files
geertuglaubitz
authored andcommitted
sh: ecovec24: Rename missed backlight field from fbdev to dev
One instance of gpio_backlight_platform_data.fbdev was renamed, but the second instance was forgotten, causing a build failure: arch/sh/boards/mach-ecovec24/setup.c: In function ‘arch_setup’: arch/sh/boards/mach-ecovec24/setup.c:1223:37: error: ‘struct gpio_backlight_platform_data’ has no member named ‘fbdev’; did you mean ‘dev’? 1223 | gpio_backlight_data.fbdev = NULL; | ^~~~~ | dev Fix this by updating the second instance. Fixes: ed369de ("backlight/gpio_backlight: Rename field 'fbdev' to 'dev'") Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202309231601.Uu6qcRnU-lkp@intel.com/ Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Acked-by: Thomas Zimmermann <tzimmermann@suse.de> Reviewed-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> Link: https://lore.kernel.org/r/20230925111022.3626362-1-geert+renesas@glider.be Signed-off-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
1 parent b85ea95 commit d87123a

File tree

1 file changed

+1
-1
lines changed
  • arch/sh/boards/mach-ecovec24

1 file changed

+1
-1
lines changed

arch/sh/boards/mach-ecovec24/setup.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1220,7 +1220,7 @@ static int __init arch_setup(void)
12201220
lcdc_info.ch[0].num_modes = ARRAY_SIZE(ecovec_dvi_modes);
12211221

12221222
/* No backlight */
1223-
gpio_backlight_data.fbdev = NULL;
1223+
gpio_backlight_data.dev = NULL;
12241224

12251225
gpio_set_value(GPIO_PTA2, 1);
12261226
gpio_set_value(GPIO_PTU1, 1);

0 commit comments

Comments
 (0)