mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-25 23:05:23 +07:00
781c4d6f5f
The dummy functions defined in <asm/io_mm.h> can be provided by <asm-generic/io.h>. As nommu already uses <asm-generic/io.h>, move its inclusion to <asm/io.h>, and add/adjust include guards where appropriate. This gets rid of lots of "statement with no effect" and "unused variable" warnings when compile-testing. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Acked-by: Greg Ungerer <gerg@linux-m68k.org>
14 lines
244 B
C
14 lines
244 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _M68K_IO_H
|
|
#define _M68K_IO_H
|
|
|
|
#if defined(__uClinux__) || defined(CONFIG_COLDFIRE)
|
|
#include <asm/io_no.h>
|
|
#else
|
|
#include <asm/io_mm.h>
|
|
#endif
|
|
|
|
#include <asm-generic/io.h>
|
|
|
|
#endif /* _M68K_IO_H */
|