Supplement define guards to prevent multiple inclusion. Signed-off-by: Weiguo Li <liw...@foxmail.com> --- drivers/net/cxgbe/base/t4_regs.h | 5 +++++ 1 file changed, 5 insertions(+)
diff --git a/drivers/net/cxgbe/base/t4_regs.h b/drivers/net/cxgbe/base/t4_regs.h index 8a14d09a15..4952f7cde4 100644 --- a/drivers/net/cxgbe/base/t4_regs.h +++ b/drivers/net/cxgbe/base/t4_regs.h @@ -3,6 +3,9 @@ * All rights reserved. */ +#ifndef _CXGBE_T4_REGS_H_ +#define _CXGBE_T4_REGS_H_ + #define MYPF_BASE 0x1b000 #define MYPF_REG(reg_addr) (MYPF_BASE + (reg_addr)) @@ -976,3 +979,5 @@ #define LE_3_DB_HASH_MASK_GEN_IPV4_T6_A 0x19eac #define LE_4_DB_HASH_MASK_GEN_IPV4_T6_A 0x19eb0 + +#endif /* _CXGBE_T4_REGS_H_ */ -- 2.25.1