Skip to content

Commit

Permalink
PCI: cpqphp: Use <linux/io.h> instead of <asm/io.h>
Browse files Browse the repository at this point in the history
Use the preferred generic header file linux/io.h that already includes the
corresponding asm/io.h file.

Link: https://lore.kernel.org/r/20211013003145.1107148-2-kw@linux.com
Signed-off-by: Krzysztof Wilczyński <kw@linux.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Jonathan Derrick <jonathan.derrick@linux.dev>
  • Loading branch information
kwilczynski authored and bjorn-helgaas committed Nov 2, 2021
1 parent fb20999 commit 31dedb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/pci/hotplug/cpqphp.h
Original file line number Diff line number Diff line change
Expand Up @@ -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() */
Expand Down

0 comments on commit 31dedb8

Please sign in to comment.