]> www.infradead.org Git - users/jedix/linux-maple.git/commit
m68k: mvme16x: Add and use "mvme16x.h"
authorGeert Uytterhoeven <geert@linux-m68k.org>
Wed, 13 Sep 2023 14:08:25 +0000 (16:08 +0200)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Fri, 6 Oct 2023 08:03:03 +0000 (10:03 +0200)
commitdcec33c1fc4ab63983d93ffb0d82b68fc5775b88
treec26c38386fa136e819c1f0a81b0f2786f51f44ab
parent0c2a527e28ee8290a60a7105fc4c302922944bfe
m68k: mvme16x: Add and use "mvme16x.h"

When building with W=1:

    arch/m68k/mvme16x/config.c:208:6: warning: no previous prototype for ‘mvme16x_cons_write’ [-Wmissing-prototypes]
      208 | void mvme16x_cons_write(struct console *co, const char *str, unsigned count)
  |      ^~~~~~~~~~~~~~~~~~

Fix this by introducing a new header file "mvme16x.h" for holding the
prototypes of functions implemented in arch/m68k/mvme16x/.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/6200cc3b26fad215c4524748af04692e38c5ecd2.1694613528.git.geert@linux-m68k.org
arch/m68k/kernel/early_printk.c
arch/m68k/mvme16x/config.c
arch/m68k/mvme16x/mvme16x.h [new file with mode: 0644]