linux/arch/m68k/kernel
Geert Uytterhoeven c50b1fc110 m68k: sun3/3x: Add and use "sun3.h"
When building with W=1:

    arch/m68k/sun3/idprom.c:86:6: warning: no previous prototype for ‘sun3_get_model’ [-Wmissing-prototypes]
       86 | void sun3_get_model(char *model)
	  |      ^~~~~~~~~~~~~~
    arch/m68k/sun3/config.c:53:24: warning: no previous prototype for ‘sun3_init’ [-Wmissing-prototypes]
       53 | asmlinkage void __init sun3_init(void)
	  |                        ^~~~~~~~~
    arch/m68k/sun3/mmu_emu.c:117:6: warning: no previous prototype for ‘print_pte_vaddr’ [-Wmissing-prototypes]
      117 | void print_pte_vaddr (unsigned long vaddr)
	  |      ^~~~~~~~~~~~~~~
    arch/m68k/sun3/mmu_emu.c:126:13: warning: no previous prototype for ‘mmu_emu_init’ [-Wmissing-prototypes]
      126 | void __init mmu_emu_init(unsigned long bootmem_end)
	  |             ^~~~~~~~~~~~
    arch/m68k/sun3/mmu_emu.c:353:5: warning: no previous prototype for ‘mmu_emu_handle_fault’ [-Wmissing-prototypes]
      353 | int mmu_emu_handle_fault (unsigned long vaddr, int read_flag, int kernel_fault)
	  |     ^~~~~~~~~~~~~~~~~~~~
    arch/m68k/sun3/leds.c:6:6: warning: no previous prototype for ‘sun3_leds’ [-Wmissing-prototypes]
	6 | void sun3_leds(unsigned char byte)
	  |      ^~~~~~~~~
    arch/m68k/sun3/intersil.c:27:5: warning: no previous prototype for ‘sun3_hwclk’ [-Wmissing-prototypes]
       27 | int sun3_hwclk(int set, struct rtc_time *t)
	  |     ^~~~~~~~~~
    arch/m68k/sun3x/config.c:30:6: warning: no previous prototype for ‘sun3_leds’ [-Wmissing-prototypes]
       30 | void sun3_leds(unsigned char byte)
	  |      ^~~~~~~~~

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

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/87856ef9ef8955f459fb691faca921c0a688bc80.1694613528.git.geert@linux-m68k.org
2023-10-06 10:03:04 +02:00
..
syscalls arch: Register fchmodat2, usually as syscall 452 2023-07-27 12:25:35 +02:00
.gitignore
asm-offsets.c m68k: Remove set_fs() 2021-09-24 13:35:07 +02:00
bootinfo_proc.c
dma.c m68k: dma: Remove unnecessary include of asm/cacheflush.h 2021-05-10 11:47:00 +02:00
early_printk.c m68k: mvme16x: Add and use "mvme16x.h" 2023-10-06 10:03:03 +02:00
entry.S m68k: Add kernel seccomp support 2023-01-30 16:40:15 +01:00
head.S m68k: Introduce a virtual m68k machine 2022-04-11 11:48:01 +02:00
ints.c m68k: kernel: Add and use "ints.h" 2023-10-06 10:03:01 +02:00
ints.h m68k: kernel: Add and use "ints.h" 2023-10-06 10:03:01 +02:00
irq.c
machine_kexec.c m68k: kexec: Include <linux/reboot.h> 2023-04-21 09:53:54 +02:00
Makefile kbuild: use obj-y instead extra-y for objects placed at the head 2022-10-02 18:04:05 +09:00
module.c
pcibios.c m68k/pci: Drop useless pcibios_setup() 2023-08-21 08:45:36 +10:00
process.c m68k: kernel: Add and use "process.h" 2023-10-06 10:03:01 +02:00
process.h m68k: kernel: Add and use "process.h" 2023-10-06 10:03:01 +02:00
ptrace.c m68k: kernel: Add and use "ptrace.h" 2023-10-06 10:03:01 +02:00
ptrace.h m68k: kernel: Add and use "ptrace.h" 2023-10-06 10:03:01 +02:00
relocate_kernel.S m68k: Fix invalid .section syntax 2023-07-24 14:50:02 +02:00
setup_mm.c m68k: mm: Move paging_init() to common <asm/pgtable.h> 2023-10-06 10:03:02 +02:00
setup_no.c m68k: use strscpy() to instead of strncpy() 2022-12-05 09:07:21 +10:00
setup.c
signal.c m68k: kernel: Add and use "signal.h" 2023-10-06 10:03:01 +02:00
signal.h m68k: kernel: Add and use "signal.h" 2023-10-06 10:03:01 +02:00
sun3-head.S
sys_m68k.c m68k: mm: Add and use "fault.h" 2023-10-06 10:03:02 +02:00
syscalltable.S m68k: syscalls: switch to generic syscalltbl.sh 2021-04-06 09:33:20 +02:00
time.c m68knommu: fix undefined reference to `mach_get_rtc_pll' 2022-05-25 00:03:58 +10:00
traps.c m68k: sun3/3x: Add and use "sun3.h" 2023-10-06 10:03:04 +02:00
traps.h m68k: kernel: Add and use "traps.h" 2023-10-06 10:03:01 +02:00
uboot.c
vectors.c m68k: kernel: Add and use "vectors.h" 2023-10-06 10:03:01 +02:00
vectors.h m68k: kernel: Add and use "vectors.h" 2023-10-06 10:03:01 +02:00
vmlinux-nommu.lds objtool/idle: Validate __cpuidle code as noinstr 2023-01-13 11:48:15 +01:00
vmlinux-std.lds objtool/idle: Validate __cpuidle code as noinstr 2023-01-13 11:48:15 +01:00
vmlinux-sun3.lds objtool/idle: Validate __cpuidle code as noinstr 2023-01-13 11:48:15 +01:00
vmlinux.lds.S