git: 83fe75d6c16e - stable/14 - pcireg.h: add include guard
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 12 Apr 2024 01:18:47 UTC
The branch stable/14 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=83fe75d6c16e64ab0cdc0ccab37095e2cac3ea07 commit 83fe75d6c16e64ab0cdc0ccab37095e2cac3ea07 Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2024-04-07 01:27:46 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2024-04-12 01:18:32 +0000 pcireg.h: add include guard (cherry picked from commit 1cd9868f04c3e91929974dca3444a79047f4e602) --- 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 */