Skip to content
Commit 5fb4d469 authored by Greg Ungerer's avatar Greg Ungerer
Browse files

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: default avatarGreg Ungerer <gerg@linux-m68k.org>
Reported-by: default avatarkernel test robot <lkp@intel.com>
parent b7311922
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment