aboutsummaryrefslogtreecommitdiff
path: root/lib/caps/px.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/caps/px.h')
-rw-r--r--lib/caps/px.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/caps/px.h b/lib/caps/px.h
index 62388a1..ce17cfe 100644
--- a/lib/caps/px.h
+++ b/lib/caps/px.h
@@ -30,6 +30,9 @@
*
*/
+#ifndef LM_PCI_CAP_PX_H
+#define LM_PCI_CAP_PX_H
+
struct pxid {
unsigned int cid:8;
unsigned int next:8;
@@ -145,4 +148,6 @@ struct pxcap {
_Static_assert(sizeof(struct pxcap) == 0x2a,
"bad PCI Express Capability size");
+#endif /* LM_PCI_CAP_PX_H */
+
/* ex: set tabstop=4 shiftwidth=4 softtabstop=4 expandtab: */