[v3,39/60] common/sfc_efx: do not include libefx headers from efsys.h
diff mbox series

Message ID 1600949555-28043-40-git-send-email-arybchenko@solarflare.com
State Accepted
Delegated to: Ferruh Yigit
Headers show
  • common/sfc_efx: support Riverhead NIC family
Related show


Context Check Description
ci/checkpatch success coding style OK

Commit Message

Andrew Rybchenko Sept. 24, 2020, 12:12 p.m. UTC
efsys.h may depends on target system headers only. Otherwise, it could
result in cross-dependency when libefx header depends on efsys.h and
efsys.h depends on the libefx header.

Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
Reviewed-by: Andrew Lee <andrewle@xilinx.com>
Reviewed-by: Andy Moreton <amoreton@xilinx.com>
 drivers/common/sfc_efx/efsys.h | 1 -
 1 file changed, 1 deletion(-)

diff mbox series

diff --git a/drivers/common/sfc_efx/efsys.h b/drivers/common/sfc_efx/efsys.h
index 1567d91588..e191cb5b6a 100644
--- a/drivers/common/sfc_efx/efsys.h
+++ b/drivers/common/sfc_efx/efsys.h
@@ -50,7 +50,6 @@  extern "C" {
 #error "Cannot determine system endianness"
-#include "efx_types.h"
 typedef bool boolean_t;