common/sfc_efx: do not include libefx headers from efsys.h
authorAndrew Rybchenko <arybchenko@solarflare.com>
Thu, 24 Sep 2020 12:12:14 +0000 (13:12 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 30 Sep 2020 17:19:12 +0000 (19:19 +0200)
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

index 1567d91..e191cb5 100644 (file)
@@ -50,7 +50,6 @@ extern "C" {
 #else
 #error "Cannot determine system endianness"
 #endif
-#include "efx_types.h"
 
 
 typedef bool boolean_t;