summaryrefslogtreecommitdiffstats
path: root/drivers/video/fbdev/omap/lcd_palmte.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2022-04-04 23:18:51 +0200
committerArnd Bergmann <arnd@arndb.de>2022-04-21 15:00:27 +0200
commit7727adb97a6c4e9f14efa42c795650a51778e782 (patch)
tree2b136c4d5a80390c6c90d99557043e8b1ec8985d /drivers/video/fbdev/omap/lcd_palmte.c
parentLinux 5.18-rc1 (diff)
downloadlinux-7727adb97a6c4e9f14efa42c795650a51778e782.tar.xz
linux-7727adb97a6c4e9f14efa42c795650a51778e782.zip
video: fbdev: omapfb: lcd_ams_delta: fix unused variable warning
A recent cleanup patch removed the only reference to a local variable in some configurations. Move the variable into the one block it is still used in, inside of an #ifdef, to avoid this warning. Fixes: 9d773f103b89 ("video: fbdev: omapfb: lcd_ams_delta: Make use of the helper function dev_err_probe()") Acked-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'drivers/video/fbdev/omap/lcd_palmte.c')
0 files changed, 0 insertions, 0 deletions