Home
last modified time | relevance | path

Searched hist:"3 f605ee1" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/arch/m68k/68000/
H A Dscreen.h3f605ee1 Tue Apr 27 08:49:31 CDT 2021 Greg Ungerer <gerg@linux-m68k.org> m68knommu: fix missing LCD splash screen data initializer

The kernel test robot reports that the "screen_bits" splash screen data
is missing for the dragen platform:

arch/m68k/68000/dragen2.c:73:16: error: 'screen_bits' undeclared (first use in this function)
73 | LSSA = (long) screen_bits;
| ^~~~~~~~~~~
arch/m68k/68000/dragen2.c:73:16: note: each undeclared identifier is reported only once for each function it appears in

Digging around a bit I found the screen_bits data structure was originally
in a screen.h file that was generated from a screen.xbm file. That was
removed in commit 0c0e6db80683 ("m68k: drop unused parts of 68VZ328
Makefile").

Other splash screen initializers for 68000 targets are kept here as the
C data structures so lets do the same for this one. Add the missing
screen.h file and include it in the dragen specific startup code.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Greg Ungerer <gerg@linux-m68k.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
H A Ddragen2.c3f605ee1 Tue Apr 27 08:49:31 CDT 2021 Greg Ungerer <gerg@linux-m68k.org> m68knommu: fix missing LCD splash screen data initializer

The kernel test robot reports that the "screen_bits" splash screen data
is missing for the dragen platform:

arch/m68k/68000/dragen2.c:73:16: error: 'screen_bits' undeclared (first use in this function)
73 | LSSA = (long) screen_bits;
| ^~~~~~~~~~~
arch/m68k/68000/dragen2.c:73:16: note: each undeclared identifier is reported only once for each function it appears in

Digging around a bit I found the screen_bits data structure was originally
in a screen.h file that was generated from a screen.xbm file. That was
removed in commit 0c0e6db80683 ("m68k: drop unused parts of 68VZ328
Makefile").

Other splash screen initializers for 68000 targets are kept here as the
C data structures so lets do the same for this one. Add the missing
screen.h file and include it in the dragen specific startup code.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Greg Ungerer <gerg@linux-m68k.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>