summaryrefslogtreecommitdiffstats
path: root/include/hw/pci-host
diff options
context:
space:
mode:
authorMarkus Armbruster2016-06-29 10:12:57 +0200
committerMarkus Armbruster2016-07-12 16:19:16 +0200
commit121d07125bb6d7079c7ebafdd3efe8c3a01cc440 (patch)
treef6201b5906fcb3bfd73aeb1ce74e104249b41c27 /include/hw/pci-host
parentDrop Emacs local variables lists redundant with .dir-locals.el (diff)
downloadqemu-121d07125bb6d7079c7ebafdd3efe8c3a01cc440.tar.gz
qemu-121d07125bb6d7079c7ebafdd3efe8c3a01cc440.tar.xz
qemu-121d07125bb6d7079c7ebafdd3efe8c3a01cc440.zip
Clean up header guards that don't match their file name
Header guard symbols should match their file name to make guard collisions less likely. Offenders found with scripts/clean-header-guards.pl -vn. Cleaned up with scripts/clean-header-guards.pl, followed by some renaming of new guard symbols picked by the script to better ones. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'include/hw/pci-host')
-rw-r--r--include/hw/pci-host/apb.h4
-rw-r--r--include/hw/pci-host/ppce500.h4
-rw-r--r--include/hw/pci-host/spapr.h6
3 files changed, 7 insertions, 7 deletions
diff --git a/include/hw/pci-host/apb.h b/include/hw/pci-host/apb.h
index 736db6118e..b19bd55c40 100644
--- a/include/hw/pci-host/apb.h
+++ b/include/hw/pci-host/apb.h
@@ -1,5 +1,5 @@
-#ifndef APB_PCI_H
-#define APB_PCI_H
+#ifndef PCI_HOST_APB_H
+#define PCI_HOST_APB_H
#include "qemu-common.h"
diff --git a/include/hw/pci-host/ppce500.h b/include/hw/pci-host/ppce500.h
index 61f773ef30..e3a374230b 100644
--- a/include/hw/pci-host/ppce500.h
+++ b/include/hw/pci-host/ppce500.h
@@ -1,5 +1,5 @@
-#ifndef PPCE500_PCI_H
-#define PPCE500_PCI_H
+#ifndef PCI_HOST_PPCE500_H
+#define PCI_HOST_PPCE500_H
static inline int ppce500_pci_map_irq_slot(int devno, int irq_num)
{
diff --git a/include/hw/pci-host/spapr.h b/include/hw/pci-host/spapr.h
index 7b63243ffb..5adc603d47 100644
--- a/include/hw/pci-host/spapr.h
+++ b/include/hw/pci-host/spapr.h
@@ -17,8 +17,8 @@
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
-#if !defined(__HW_SPAPR_PCI_H__)
-#define __HW_SPAPR_PCI_H__
+#ifndef PCI_HOST_SPAPR_H
+#define PCI_HOST_SPAPR_H
#include "hw/ppc/spapr.h"
#include "hw/pci/pci.h"
@@ -153,4 +153,4 @@ static inline void spapr_phb_vfio_reset(DeviceState *qdev)
void spapr_phb_dma_reset(sPAPRPHBState *sphb);
-#endif /* __HW_SPAPR_PCI_H__ */
+#endif /* PCI_HOST_SPAPR_H */