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...@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

Reply via email to