diff mbox series

[iproute2-next,1/2] Update kernel headers for devlink

Message ID 20200929234237.3567664-2-jacob.e.keller@intel.com
State New
Headers show
Series devlink: add flash update overwrite mask | expand

Commit Message

Jacob Keller Sept. 29, 2020, 11:42 p.m. UTC
The recent changes to support an overwrite mask require the _BITUL macro
to be included. The uapi/linux/devlink.h header did not include
<linux/const> resulting in compile failures using the macros that relied
upon it.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
---
 include/uapi/linux/devlink.h | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/include/uapi/linux/devlink.h b/include/uapi/linux/devlink.h
index 39f5cadc7f07..92498c204e42 100644
--- a/include/uapi/linux/devlink.h
+++ b/include/uapi/linux/devlink.h
@@ -13,6 +13,8 @@ 
 #ifndef _LINUX_DEVLINK_H_
 #define _LINUX_DEVLINK_H_
 
+#include <linux/const.h>
+
 #define DEVLINK_GENL_NAME "devlink"
 #define DEVLINK_GENL_VERSION 0x1
 #define DEVLINK_GENL_MCGRP_CONFIG_NAME "config"