[PATCH 01/13] net/nfp: make sure header file is self-containing
Chaoyong He
chaoyong.he at corigine.com
Wed Sep 20 13:34:42 CEST 2023
Make sure the header file 'nfp_ctrl.h' is self-containing by including
'stdint.h' header files to access the size specific integer types.
Signed-off-by: Chaoyong He <chaoyong.he at corigine.com>
---
drivers/net/nfp/nfp_ctrl.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/nfp/nfp_ctrl.h b/drivers/net/nfp/nfp_ctrl.h
index 7007548447..53727992a9 100644
--- a/drivers/net/nfp/nfp_ctrl.h
+++ b/drivers/net/nfp/nfp_ctrl.h
@@ -6,6 +6,8 @@
#ifndef _NFP_CTRL_H_
#define _NFP_CTRL_H_
+#include <stdint.h>
+
/*
* Configuration BAR size.
*
--
2.39.1
More information about the dev
mailing list