Re: [PATCH 1/9] ARM: Remove <asm/ide.h>

From: Damien Le Moal
Date: Tue Aug 22 2023 - 01:56:13 EST


On 8/18/23 01:07, Geert Uytterhoeven wrote:
> As of commit b7fb14d3ac63117e ("ide: remove the legacy ide driver") in
> v5.14, there are no more generic users of <asm/ide.h>.
>
> Signed-off-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>

Looks good to me. All patches are reviewed or acked, except this one.
Can I get an ack from arm folks ?

> ---
> arch/arm/include/asm/ide.h | 24 ------------------------
> 1 file changed, 24 deletions(-)
> delete mode 100644 arch/arm/include/asm/ide.h
>
> diff --git a/arch/arm/include/asm/ide.h b/arch/arm/include/asm/ide.h
> deleted file mode 100644
> index a81e0b0d6747aa2f..0000000000000000
> --- a/arch/arm/include/asm/ide.h
> +++ /dev/null
> @@ -1,24 +0,0 @@
> -/* SPDX-License-Identifier: GPL-2.0 */
> -/*
> - * arch/arm/include/asm/ide.h
> - *
> - * Copyright (C) 1994-1996 Linus Torvalds & authors
> - */
> -
> -/*
> - * This file contains the ARM architecture specific IDE code.
> - */
> -
> -#ifndef __ASMARM_IDE_H
> -#define __ASMARM_IDE_H
> -
> -#ifdef __KERNEL__
> -
> -#define __ide_mm_insw(port,addr,len) readsw(port,addr,len)
> -#define __ide_mm_insl(port,addr,len) readsl(port,addr,len)
> -#define __ide_mm_outsw(port,addr,len) writesw(port,addr,len)
> -#define __ide_mm_outsl(port,addr,len) writesl(port,addr,len)
> -
> -#endif /* __KERNEL__ */
> -
> -#endif /* __ASMARM_IDE_H */

--
Damien Le Moal
Western Digital Research