git: 1cd9868f04c3 - main - pcireg.h: add include guard

From: Konstantin Belousov <kib_at_FreeBSD.org>
Date: Wed, 10 Apr 2024 05:28:57 UTC
The branch main has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=1cd9868f04c3e91929974dca3444a79047f4e602

commit 1cd9868f04c3e91929974dca3444a79047f4e602
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2024-04-07 01:27:46 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2024-04-10 05:28:23 +0000

    pcireg.h: add include guard
    
    Reviewed by:    emaste
    Sponsored by:   Advanced Micro Devices (AMD)
    Sponsored by:   The FreeBSD Foundation
    MFC after:      1 week
    Differential revision:  https://reviews.freebsd.org/D44732
---
 sys/dev/pci/pcireg.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/sys/dev/pci/pcireg.h b/sys/dev/pci/pcireg.h
index ef9b7799f534..c94decd8ef2a 100644
--- a/sys/dev/pci/pcireg.h
+++ b/sys/dev/pci/pcireg.h
@@ -26,6 +26,9 @@
  *
  */
 
+#ifndef __PCI_PCIREG_H
+#define	__PCI_PCIREG_H
+
 /*
  * PCIM_xxx: mask to locate subfield in register
  * PCIR_xxx: config register offset
@@ -1121,3 +1124,5 @@
 #define	PCIM_ACS_USP_MEM_TGT_ACC_CTL		0x0c00
 #define	PCIM_ACS_UNCLAIMED_REQ_REDIRECT_CTL	0x1000
 #define	PCIR_ACS_EGRESS_CONTROL_VECTOR	0x8
+
+#endif	/* __PCI_PCIREG_H */