diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2023-09-13 17:08:07 +0300 |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2023-10-06 11:03:02 +0300 |
commit | 090c65639adda433f896e439dfdaaf819e45353f (patch) | |
tree | 22970f595c7fa3de4eeb710f354052571443a287 /virt | |
parent | ac0b5591321330d65001f15f8672ac12b612d7a9 (diff) | |
download | linux-090c65639adda433f896e439dfdaaf819e45353f.tar.xz |
m68k: amiga: Add and use "amiga.h"
When building with W=1:
arch/m68k/amiga/amisound.c:48:13: warning: no previous prototype for ‘amiga_init_sound’ [-Wmissing-prototypes]
48 | void __init amiga_init_sound(void)
| ^~~~~~~~~~~~~~~~
arch/m68k/amiga/amisound.c:71:6: warning: no previous prototype for ‘amiga_mksound’ [-Wmissing-prototypes]
71 | void amiga_mksound( unsigned int hz, unsigned int ticks )
| ^~~~~~~~~~~~~
Fix this by introducing a new header file "amiga.h" for holding the
prototypes of functions implemented in arch/m68k/amiga/.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/7e9395e1de1c9a34d16ea40a522057f05bbee400.1694613528.git.geert@linux-m68k.org
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions