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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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@xxxxxxxxx>
> ---
>  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@xxxxxxxxx>



[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux