mirror of
https://github.com/torvalds/linux.git
synced 2026-03-13 23:46:14 +01:00
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>
This commit is contained in:
parent
8196b5fd6c
commit
7151d87a17
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue