m68knommu: fix 'screen_bits' defined but not used
authorGreg Ungerer <gerg@linux-m68k.org>
Mon, 17 Jan 2022 05:21:54 +0000 (15:21 +1000)
committerGreg Ungerer <gerg@linux-m68k.org>
Sun, 13 Feb 2022 23:34:49 +0000 (09:34 +1000)
commit4798b97f7a2d0648cf22a1cc76dc3dd61c6199ff
treeed37d15a1c22022f6c575bb6af714b4eb7f7b27b
parentaa6094bbb45dafbdfdf9ab93b683ad2719d0f6f8
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>
arch/m68k/68000/screen.h