2023-09-15 22:05:33

by John Sanpe

[permalink] [raw]
Subject: [PATCH] logic_pio: remove duplicate declarations of function

Remove duplicate declarations of logic_out* functions.

Signed-off-by: John Sanpe <[email protected]>
---
include/linux/logic_pio.h | 3 ---
1 file changed, 3 deletions(-)

diff --git a/include/linux/logic_pio.h b/include/linux/logic_pio.h
index 54945aa824b4..babf4e3c28ba 100644
--- a/include/linux/logic_pio.h
+++ b/include/linux/logic_pio.h
@@ -39,9 +39,6 @@ struct logic_pio_host_ops {

#ifdef CONFIG_INDIRECT_PIO
u8 logic_inb(unsigned long addr);
-void logic_outb(u8 value, unsigned long addr);
-void logic_outw(u16 value, unsigned long addr);
-void logic_outl(u32 value, unsigned long addr);
u16 logic_inw(unsigned long addr);
u32 logic_inl(unsigned long addr);
void logic_outb(u8 value, unsigned long addr);
--
2.41.0


2023-09-28 19:28:38

by Bjorn Helgaas

[permalink] [raw]
Subject: Re: [PATCH] logic_pio: remove duplicate declarations of function

On Fri, Sep 15, 2023 at 10:06:50PM +0800, John Sanpe wrote:
> Remove duplicate declarations of logic_out* functions.
>
> Signed-off-by: John Sanpe <[email protected]>

Applied to pci/misc for v6.7, thanks.

> ---
> include/linux/logic_pio.h | 3 ---
> 1 file changed, 3 deletions(-)
>
> diff --git a/include/linux/logic_pio.h b/include/linux/logic_pio.h
> index 54945aa824b4..babf4e3c28ba 100644
> --- a/include/linux/logic_pio.h
> +++ b/include/linux/logic_pio.h
> @@ -39,9 +39,6 @@ struct logic_pio_host_ops {
>
> #ifdef CONFIG_INDIRECT_PIO
> u8 logic_inb(unsigned long addr);
> -void logic_outb(u8 value, unsigned long addr);
> -void logic_outw(u16 value, unsigned long addr);
> -void logic_outl(u32 value, unsigned long addr);
> u16 logic_inw(unsigned long addr);
> u32 logic_inl(unsigned long addr);
> void logic_outb(u8 value, unsigned long addr);
> --
> 2.41.0
>
>
> _______________________________________________
> linux-arm-kernel mailing list
> [email protected]
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel