linux/arch/m68k/mm
Geert Uytterhoeven 2c0bb8cb99 m68k: mm: Include <asm/hwtest.h> for hwreg_()
When building with W=1:

    arch/m68k/mm/hwtest.c:29:5: warning: no previous prototype for ‘hwreg_present’ [-Wmissing-prototypes]
       29 | int hwreg_present(volatile void *regp)
	  |     ^~~~~~~~~~~~~
    arch/m68k/mm/hwtest.c:62:5: warning: no previous prototype for ‘hwreg_write’ [-Wmissing-prototypes]
       62 | int hwreg_write(volatile void *regp, unsigned short val)
	  |     ^~~~~~~~~~~

Fix this by including <asm/hwtest.h>.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/fbd87d8e8d1e8cbe7d56941a8a1d7d82b53010d0.1694613528.git.geert@linux-m68k.org
2023-10-06 10:03:02 +02:00
..
cache.c m68k: Remove set_fs() 2021-09-24 13:35:07 +02:00
fault.c mm: always expand the stack with the mmap write lock held 2023-06-27 09:41:30 -07:00
hwtest.c m68k: mm: Include <asm/hwtest.h> for hwreg_() 2023-10-06 10:03:02 +02:00
init.c m68k: Remove set_fs() 2021-09-24 13:35:07 +02:00
kmap.c m68k: Introduce a virtual m68k machine 2022-04-11 11:48:01 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mcfmmu.c asm-generic updates for 6.5 2023-07-06 10:06:04 -07:00
memory.c m68k: Remove set_fs() 2021-09-24 13:35:07 +02:00
motorola.c m68k: implement the new page table range API 2023-08-24 16:20:21 -07:00
sun3kmap.c mm: don't include asm/pgtable.h if linux/mm.h is already included 2020-06-09 09:39:13 -07:00
sun3mmu.c m68k: Pass a pointer to virt_to_pfn() virt_to_page() 2023-05-29 11:27:07 +02:00