From 694924e419744f6ea6efdd1c7e4e504ef5a5080f Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Sun, 8 Feb 2004 19:04:55 -0800 Subject: [PATCH] PCI: move pci_msi.h out of include/linux to drivers/pci where it belongs. --- drivers/pci/msi.c | 2 +- include/linux/pci_msi.h => drivers/pci/msi.h | 10 ++++------ 2 files changed, 5 insertions(+), 7 deletions(-) rename include/linux/pci_msi.h => drivers/pci/msi.h (97%) diff --git a/drivers/pci/msi.c b/drivers/pci/msi.c index 40d7cfc6c5cc5..2090a7089e417 100644 --- a/drivers/pci/msi.c +++ b/drivers/pci/msi.c @@ -19,7 +19,7 @@ #include #include -#include +#include "msi.h" static spinlock_t msi_lock = SPIN_LOCK_UNLOCKED; diff --git a/include/linux/pci_msi.h b/drivers/pci/msi.h similarity index 97% rename from include/linux/pci_msi.h rename to drivers/pci/msi.h index b638a07ba1256..dd1c359e7a88c 100644 --- a/include/linux/pci_msi.h +++ b/drivers/pci/msi.h @@ -1,12 +1,10 @@ /* - * ../include/linux/pci_msi.h + * msi.h * */ -#ifndef PCI_MSI_H -#define PCI_MSI_H - -#include +#ifndef MSI_H +#define MSI_H #define MSI_AUTO -1 #define NR_REPEATS 23 @@ -167,4 +165,4 @@ struct msi_desc { struct pci_dev *dev; }; -#endif /* PCI_MSI_H */ +#endif /* MSI_H */ -- 2.53.0