Searched hist:"5 fb4d4690b77baa8611d7be90e713a9a8faa97e8" (Results 1 – 1 of 1) sorted by relevance
/linux/arch/m68k/68000/ |
H A D | screen.h | diff 5fb4d4690b77baa8611d7be90e713a9a8faa97e8 Mon Jan 17 06:21:54 CET 2022 Greg Ungerer <gerg@linux-m68k.org> m68knommu: fix 'screen_bits' defined but not used
The 'screen_bits' LCD initializer bit array is only required if CONFIG_INIT_LCD is enabled, otherwise we get the following warning:
arch/m68k/68000/screen.h:4:22: warning: 'screen_bits' defined but not used [-Wunused-variable] static unsigned char screen_bits[] = { ^~~~~~~~~~~
Make the inclusion of 'screen_bits' conditional on CONFIG_INIT_LCD.
Signed-off-by: Greg Ungerer <gerg@linux-m68k.org> Reported-by: kernel test robot <lkp@intel.com>
|