net/sfc/base: improve MCDI interface header inclusion
authorAndrew Rybchenko <arybchenko@solarflare.com>
Thu, 7 Feb 2019 16:29:42 +0000 (16:29 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 8 Feb 2019 10:35:41 +0000 (11:35 +0100)
commita6b9ee49f0197829288751448057ccabf6432db9
tree1c1ca4d333e6862456e97529592e17ddde97a788
parent40d2864c8ae4db307b9d6c3482af1f4e349e3cb7
net/sfc/base: improve MCDI interface header inclusion

Include efx_mcdi.h from main internal header efx_impl.h directly
instead of indirect inclusion via family-specific header.
It avoids duplication and fixes Medford and Medford2 cases where
the header inclusion is lost.
Correctness is still guaranteed by checks in efx_check.h which
require EFSYS_OPT_MCDI for corresponding families and do not
allow to enable the option if no family requires it.

Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
drivers/net/sfc/base/efx_impl.h
drivers/net/sfc/base/hunt_impl.h
drivers/net/sfc/base/siena_impl.h