Skip to content

Commit

Permalink
Use system auxiliary_bus.h when available
Browse files Browse the repository at this point in the history
  • Loading branch information
cardigliano committed Oct 11, 2023
1 parent aa05633 commit 54f989e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
6 changes: 1 addition & 5 deletions drivers/intel/ice/ice-1.12.7-zc/src/ice.h
Original file line number Diff line number Diff line change
Expand Up @@ -75,15 +75,11 @@
#include "ice_common.h"
#include "ice_flow.h"
#include "ice_sched.h"
#ifdef HAVE_PF_RING
#include "auxiliary_bus.h"
#else
#ifdef USE_INTEL_AUX_BUS
#include "linux/auxiliary_bus.h"
#include "auxiliary_bus.h"
#else
#include <linux/auxiliary_bus.h>
#endif /* USE_INTEL_AUX_BUS */
#endif
#include <linux/idr.h>
#include "ice_idc_int.h"
#include "virtchnl.h"
Expand Down
6 changes: 1 addition & 5 deletions drivers/intel/ice/ice-1.12.7-zc/src/iidc.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,11 @@
#include <linux/if_ether.h>
#include <linux/kernel.h>
#include <linux/netdevice.h>
#ifdef HAVE_PF_RING
#include "auxiliary_bus.h"
#else
#ifdef USE_INTEL_AUX_BUS
#include "linux/auxiliary_bus.h"
#include "auxiliary_bus.h"
#else
#include <linux/auxiliary_bus.h>
#endif /* USE_INTEL_AUX_BUS */
#endif

/* This major and minor version represent IDC API version information.
*
Expand Down

0 comments on commit 54f989e

Please sign in to comment.