m68k: apollo: Add and use "apollo.h"
authorGeert Uytterhoeven <geert@linux-m68k.org>
Wed, 13 Sep 2023 14:08:16 +0000 (16:08 +0200)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Fri, 6 Oct 2023 08:03:02 +0000 (10:03 +0200)
commit676ca3c3fd9a8e341f9749fa3fecb82e1862a666
tree739f6f15d3fd88b1189d5da14eb0d25caf9a6122
parent7509c04afe930573c8f4ab6abda3743c2c184d66
m68k: apollo: Add and use "apollo.h"

When building with W=1:

    arch/m68k/apollo/dn_ints.c:43:13: warning: no previous prototype for ‘dn_init_IRQ’ [-Wmissing-prototypes]
       43 | void __init dn_init_IRQ(void)
  |             ^~~~~~~~~~~

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

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