ARM: move Risc PC-specific <asm/hardware/iomd.h> header into mach-rpc
Subsystems (7)
PATCH 1/1 ARM: move Risc PC-specific <asm/hardware/iomd.h> header into mach-rpc
The <asm/hardware/iomd.h> header is specific to the IOMD chip used on the Risc PC. Move it into mach-rpc to avoid polluting asm/hardware/ with machine-specific headers.
Also take the opportunity to remove a comment with the file path from the header, which is bad style.
Signed-off-by Ethan Nelson-Moore <[email protected]>
---
MAINTAINERS | 1 -
arch/arm/mach-rpc/dma.c | 2 +-
arch/arm/{include/asm/hardware => mach-rpc/include/mach}/iomd.h | 2 --
arch/arm/mach-rpc/irq.c | 2 +-
arch/arm/mach-rpc/riscpc.c | 2 +-
arch/arm/mach-rpc/time.c | 2 +-
drivers/i2c/busses/i2c-acorn.c | 2 +-
drivers/input/mouse/rpcmouse.c | 2 +-
drivers/input/serio/rpckbd.c | 2 +-
drivers/video/fbdev/acornfb.h | 2 +-
10 files changed, 8 insertions(+), 11 deletions(-)
rename arch/arm/{include/asm/hardware => mach-rpc/include/mach}/iomd.h (98%)MAINTAINERS +0 -1
@@ -3398,7 +3398,6 @@ M: Russell King <[email protected]> L: [email protected] (moderated for non-subscribers) S: Maintained W: http://www.armlinux.org.uk/ -F: arch/arm/include/asm/hardware/iomd.h F: arch/arm/mach-rpc/ F: drivers/net/ethernet/8390/etherh.c F: drivers/net/ethernet/i825xx/ether1*
arch/arm/mach-rpc/dma.c +1 -1
@@ -20,7 +20,7 @@#include <linux/uaccess.h> #include <asm/mach/dma.h> -#include <asm/hardware/iomd.h> +#include <mach/iomd.h> struct iomd_dma {struct dma_struct dma;
arch/arm/mach-rpc/include/mach/iomd.h renamed from arch/arm/include/asm/hardware/iomd.h +0 -2
@@ -1,7 +1,5 @@/* SPDX-License-Identifier: GPL-2.0-only */ /* -* arch/arm/include/asm/hardware/iomd.h -* * Copyright (C) 1999 Russell King * * This file contains information out the IOMD ASIC used in the
arch/arm/mach-rpc/irq.c +1 -1
@@ -4,7 +4,7 @@#include <linux/io.h> #include <asm/mach/irq.h> -#include <asm/hardware/iomd.h> +#include <mach/iomd.h> #include <asm/irq.h> #include <asm/fiq.h>
arch/arm/mach-rpc/riscpc.c +1 -1
@@ -22,7 +22,7 @@#include <asm/elf.h> #include <asm/mach-types.h> #include <mach/hardware.h> -#include <asm/hardware/iomd.h> +#include <mach/iomd.h> #include <asm/page.h> #include <asm/domain.h> #include <asm/setup.h>
arch/arm/mach-rpc/time.c +1 -1
@@ -17,7 +17,7 @@#include <linux/io.h> #include <mach/hardware.h> -#include <asm/hardware/iomd.h> +#include <mach/iomd.h> #include <asm/mach/time.h>
drivers/i2c/busses/i2c-acorn.c +1 -1
@@ -13,7 +13,7 @@#include <linux/io.h> #include <mach/hardware.h> -#include <asm/hardware/iomd.h> +#include <mach/iomd.h> #define FORCE_ONES 0xdc#define SCL 0x02
drivers/input/mouse/rpcmouse.c +1 -1
@@ -23,7 +23,7 @@#include <mach/hardware.h> #include <asm/irq.h> -#include <asm/hardware/iomd.h> +#include <mach/iomd.h> MODULE_AUTHOR ("Vojtech Pavlik, Russell King" );MODULE_DESCRIPTION ("Acorn RiscPC mouse driver" );
drivers/input/serio/rpckbd.c +1 -1
@@ -17,7 +17,7 @@#include <linux/slab.h> #include <mach/hardware.h> -#include <asm/hardware/iomd.h> +#include <mach/iomd.h> MODULE_AUTHOR ("Vojtech Pavlik, Russell King" );MODULE_DESCRIPTION ("Acorn RiscPC PS/2 keyboard controller driver" );
drivers/video/fbdev/acornfb.h +1 -1
@@ -7,7 +7,7 @@* Frame buffer code for Acorn platforms */ #if defined(HAS_VIDC20 ) -#include <asm/hardware/iomd.h> +#include <mach/iomd.h> #define VIDC_PALETTE_SIZE 256#define VIDC_NAME "VIDC20"#endif
Signature · 1 line
2.43.0
Quoted 19 lines · Ethan Nelson-Moore
The <
asm/hardware/iomd.h> header is specific to the IOMD chip used on the Risc PC. Move it into mach-rpc to avoid polluting asm/hardware/ with machine-specific headers.Also take the opportunity to remove a comment with the file path from the header, which is bad style.
Signed-off-by Ethan Nelson-Moore <[email protected]>--- MAINTAINERS | 1 - arch/arm/mach-rpc/dma.c | 2 +- arch/arm/{include/asm/hardware => mach-rpc/include/mach}/iomd.h | 2 -- arch/arm/mach-rpc/irq.c | 2 +- arch/arm/mach-rpc/riscpc.c | 2 +- arch/arm/mach-rpc/time.c | 2 +- drivers/i2c/busses/i2c-acorn.c | 2 +- drivers/input/mouse/rpcmouse.c | 2 +- drivers/input/serio/rpckbd.c | 2 +-
Quoted 1 line
drivers/video/fbdev/acornfb.h | 2 +-
Regarding the fbdev change:
Acked-by Helge Deller <[email protected]>
I assume this patch is pushed via the arm tree?
Helge