Skip to content
Commit a180d023 authored by Nishka Dasgupta's avatar Nishka Dasgupta Committed by Miguel Ojeda
Browse files

auxdisplay: ht16k33: Make ht16k33_fb_fix and ht16k33_fb_var constant



The static structures ht16k33_fb_fix and ht16k33_fb_var, of types
fb_fix_screeninfo and fb_var_screeninfo respectively, are not used
except to be copied into other variables. Hence make both of them
constant to prevent unintended modification.
Issue found with
Coccinelle.

Acked-by: default avatarRobin van der Gracht <robin@protonic.nl>
Signed-off-by: default avatarNishka Dasgupta <nishkadg.linux@gmail.com>
Signed-off-by: default avatarMiguel Ojeda <miguel.ojeda.sandonis@gmail.com>
parent d1abaeb3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment