diff options
author | Ivan Vecera <ivecera@redhat.com> | 2023-09-27 11:31:30 +0300 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2023-10-05 19:13:42 +0300 |
commit | 7151d87a175c6618fe81705755eb3dc4199cad4e (patch) | |
tree | ac60083a8dc3518d4517800a547fcc2e6d5419ca /include/linux/avf/virtchnl.h | |
parent | 8196b5fd6c7312d31775f77c7fff0253eb0ecdaa (diff) | |
download | linux-7151d87a175c6618fe81705755eb3dc4199cad4e.tar.xz |
virtchnl: Add header dependencies
The <linux/avf/virtchnl.h> uses BIT, struct_size and ETH_ALEN macros
but does not include appropriate header files that defines them.
Add these dependencies so this header file can be included anywhere.
Signed-off-by: Ivan Vecera <ivecera@redhat.com>
Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com>
Reviewed-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'include/linux/avf/virtchnl.h')
-rw-r--r-- | include/linux/avf/virtchnl.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/avf/virtchnl.h b/include/linux/avf/virtchnl.h index dd71d3009771..6b3acf15be5c 100644 --- a/include/linux/avf/virtchnl.h +++ b/include/linux/avf/virtchnl.h @@ -4,6 +4,10 @@ #ifndef _VIRTCHNL_H_ #define _VIRTCHNL_H_ +#include <linux/bitops.h> +#include <linux/overflow.h> +#include <uapi/linux/if_ether.h> + /* Description: * This header file describes the Virtual Function (VF) - Physical Function * (PF) communication protocol used by the drivers for all devices starting |