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>
Mon, 7 Mar 2022 04:51:11 +0000 (14:51 +1000)
commit5fb4d4690b77baa8611d7be90e713a9a8faa97e8
treef576075257c98f95b7018758a080ca13ae27d8b3
parentb73119222f2dd6b1c294cc6ef4b1fb7f9ff3adf5
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