Skip to content

Commit

Permalink
PCI: include io.h in pci.h so that ioremap_nocache is defined
Browse files Browse the repository at this point in the history
Ingo pointed out that the m32r build was broken by pci_ioremap.  It looks like
some files include pci.h w/o including io.h.  The latter defines ioremap_* if
present, so it makes sense to include it in pci.h now that we have pci_ioremap
there.

Reported-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
  • Loading branch information
Jesse Barnes committed Oct 22, 2008
1 parent 8dd7f80 commit 64c7f63
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/linux/pci.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#define LINUX_PCI_H

#include <linux/pci_regs.h> /* The pci register defines */
#include <linux/io.h>

/*
* The PCI interface treats multi-function devices as independent
Expand Down

0 comments on commit 64c7f63

Please sign in to comment.