summaryrefslogtreecommitdiff
path: root/drivers/auxdisplay/cfag12864bfb.c
diff options
context:
space:
mode:
authorNishka Dasgupta <nishkadg.linux@gmail.com>2019-08-19 10:51:26 +0300
committerMiguel Ojeda <miguel.ojeda.sandonis@gmail.com>2019-08-20 12:48:54 +0300
commita180d023ec7ba0e43b2385876950d9ce7ab618f1 (patch)
treea21e6b6b65ee034e5bfcb57d2dfd92bf542fc895 /drivers/auxdisplay/cfag12864bfb.c
parentd1abaeb3be7b5fa6d7a1fbbd2e14e3310005c4c1 (diff)
downloadlinux-a180d023ec7ba0e43b2385876950d9ce7ab618f1.tar.xz
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: Robin van der Gracht <robin@protonic.nl> Signed-off-by: Nishka Dasgupta <nishkadg.linux@gmail.com> Signed-off-by: Miguel Ojeda <miguel.ojeda.sandonis@gmail.com>
Diffstat (limited to 'drivers/auxdisplay/cfag12864bfb.c')
0 files changed, 0 insertions, 0 deletions