Re: [PATCH] sh: ecovec24: Rename missed backlight field from fbdev to dev

Thomas Zimmermann <[email protected]>
Newsgroups gmane.linux.ports.sh.devel,gmane.comp.video.dri.devel,gmane.linux.kernel
Message-ID <[email protected]>
Hi

Am 25.09.23 um 13:10 schrieb Geert Uytterhoeven:
> 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: ed369def91c1579a ("backlight/gpio_backlight: Rename field 'fbdev' to 'dev'")
> Reported-by: kernel test robot <[email protected]>
> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
> Signed-off-by: Geert Uytterhoeven <[email protected]>

Acked-by: Thomas Zimmermann <[email protected]>

Sorry for missing this driver in the original patch.

Best regards
Thomas

> ---
>   arch/sh/boards/mach-ecovec24/setup.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/sh/boards/mach-ecovec24/setup.c b/arch/sh/boards/mach-ecovec24/setup.c
> index 3be293335de54512..7a788d44cc73496c 100644
> --- a/arch/sh/boards/mach-ecovec24/setup.c
> +++ b/arch/sh/boards/mach-ecovec24/setup.c
> @@ -1220,7 +1220,7 @@ static int __init arch_setup(void)
>   		lcdc_info.ch[0].num_modes		= ARRAY_SIZE(ecovec_dvi_modes);
>   
>   		/* No backlight */
> -		gpio_backlight_data.fbdev = NULL;
> +		gpio_backlight_data.dev = NULL;
>   
>   		gpio_set_value(GPIO_PTA2, 1);
>   		gpio_set_value(GPIO_PTU1, 1);

-- 
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Frankenstrasse 146, 90461 Nuernberg, Germany
GF: Ivo Totev, Andrew Myers, Andrew McDonald, Boudien Moerman
HRB 36809 (AG Nuernberg)
OpenPGP_signature.asc (application/pgp-signature, 840 B)
-----BEGIN PGP SIGNATURE-----

wsF5BAABCAAjFiEExndm/fpuMUdwYFFolh/E3EQov+AFAmURbvAFAwAAAAAACgkQlh/E3EQov+BU
+w//UJCGLDzhsQtidhuNeeelP2BPDsVyROWV87SiW69cXKWAiSFeEBdoHsorvyVusPGoyXdL6+xt
X6bgSHHhTyAhgrlGpXYT2Qh189eSDgMQNqSw5xDOU2YYaUFIUbA0jBaWy5PLZLYmMbkUP4yGRR8c
8qHrZYNzDFhSi9O88uGC4S3suWblE7EHP6AO/ZdSEvFv1ppbu8/GeN8Bbq9vvLd7zVLNlSUCszN6
tn5gaPN+l/Qp81YHh/SLLxos2B7D3YcEGB/4omCWuU3fxvQGP7TxS9lc8SJjBuTmzoL6mGtqsfIN
H7XaGhTBuKGGrPbbeXaGMyE8pSfKZHPhgdl7TrmjdBDgNO9y0f0ho8Z/jzR2S02Bhm8KWp9EzxAc
BqJ+CuHCBNxlAV2XOG0D9oen4khFVX9cZRA0ptfswH7RIyWtNQ5iYr+3BlJn0St/ppsaEC/SoUP0
f+a92zj8Zti9cX3lzJsaTHcaNtQlxwnz13gv6mfNNkgSHHEf/siBM/dx048oR63hOetSKoytRKcc
bfS8Ddv4pcbfeCO/c35RTEbbLrc+KjbmiESSqOl7R/cbLjKu0IzvjLJGd8v12HuUlwasOiSF4ugK
2YPao5G12RshvUF5lwsQMqmQ/49otXdskDQlAC7CvXpctTAet29OkIMs3rMUphHrsI/tphPs+sau
T6E=
=C/7O
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.