diff mbox series

[2/2] PCI: hotplug: Use preferred header file linux/io.h

Message ID 20211013003145.1107148-2-kw@linux.com (mailing list archive)
State Accepted
Commit 31dedb8ed11e0d9aa266bb33e46d827006c4a72f
Delegated to: Bjorn Helgaas
Headers show
Series [1/2] PCI: vmd: Use preferred header files linux/device.h and linux/msi.h | expand

Commit Message

Krzysztof Wilczyński Oct. 13, 2021, 12:31 a.m. UTC
Use the preferred generic header file linux/io.h that already includes
the corresponding asm/io.h file.

Signed-off-by: Krzysztof Wilczyński <kw@linux.com>
---
 drivers/pci/hotplug/cpqphp.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Jonathan Derrick Oct. 14, 2021, 6:06 p.m. UTC | #1
On 10/12/2021 6:31 PM, Krzysztof Wilczyński wrote:
> Use the preferred generic header file linux/io.h that already includes
> the corresponding asm/io.h file.
> 
> Signed-off-by: Krzysztof Wilczyński <kw@linux.com>
> ---
>  drivers/pci/hotplug/cpqphp.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/pci/hotplug/cpqphp.h b/drivers/pci/hotplug/cpqphp.h
> index 77e4e0142fbc..2f7b49ea96e2 100644
> --- a/drivers/pci/hotplug/cpqphp.h
> +++ b/drivers/pci/hotplug/cpqphp.h
> @@ -15,7 +15,7 @@
>  #define _CPQPHP_H
>  
>  #include <linux/interrupt.h>
> -#include <asm/io.h>		/* for read? and write? functions */
> +#include <linux/io.h>		/* for read? and write? functions */
>  #include <linux/delay.h>	/* for delays */
>  #include <linux/mutex.h>
>  #include <linux/sched/signal.h>	/* for signal_pending() */
> 

Reviewed-by: Jonathan Derrick <jonathan.derrick@linux.dev>
diff mbox series

Patch

diff --git a/drivers/pci/hotplug/cpqphp.h b/drivers/pci/hotplug/cpqphp.h
index 77e4e0142fbc..2f7b49ea96e2 100644
--- a/drivers/pci/hotplug/cpqphp.h
+++ b/drivers/pci/hotplug/cpqphp.h
@@ -15,7 +15,7 @@ 
 #define _CPQPHP_H
 
 #include <linux/interrupt.h>
-#include <asm/io.h>		/* for read? and write? functions */
+#include <linux/io.h>		/* for read? and write? functions */
 #include <linux/delay.h>	/* for delays */
 #include <linux/mutex.h>
 #include <linux/sched/signal.h>	/* for signal_pending() */