]> git.baikalelectronics.ru Git - kernel.git/commit
video: fbdev: kyro: make read-only array ODValues static const
authorColin Ian King <colin.i.king@gmail.com>
Tue, 8 Mar 2022 20:23:28 +0000 (20:23 +0000)
committerHelge Deller <deller@gmx.de>
Fri, 11 Mar 2022 07:27:37 +0000 (08:27 +0100)
commit48863a370afc6a1fd988b7b8500a57bdd6ea9f77
tree4b627bdc81d72f8c11752ef34d3330ec6045f88a
parente1035ebdd90a9ac157098170f998582c2273b717
video: fbdev: kyro: make read-only array ODValues static const

Don't populate the read-only array ODValues on the stack but
instead make it static const. Also makes the object code a little
smaller.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Signed-off-by: Helge Deller <deller@gmx.de>
drivers/video/fbdev/kyro/STG4000InitDevice.c