From: Vladimir Oltean Date: Mon, 6 Jan 2020 01:34:16 +0000 (+0200) Subject: net: mscc: ocelot: export ANA, DEV and QSYS registers to include/soc/mscc X-Git-Tag: v5.6-rc1~151^2~157^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=964ee5c82b770c2d8a5ccefeee3384c1061ce3ae;p=thirdparty%2Fkernel%2Fstable.git net: mscc: ocelot: export ANA, DEV and QSYS registers to include/soc/mscc Since the Felix DSA driver is implementing its own PHYLINK instance due to SoC differences, it needs access to the few registers that are common, mainly for flow control. Signed-off-by: Vladimir Oltean Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/mscc/ocelot.h b/drivers/net/ethernet/mscc/ocelot.h index 7b77d44ed7cf0..04372ba72fecc 100644 --- a/drivers/net/ethernet/mscc/ocelot.h +++ b/drivers/net/ethernet/mscc/ocelot.h @@ -18,11 +18,11 @@ #include #include +#include #include +#include +#include #include -#include "ocelot_ana.h" -#include "ocelot_dev.h" -#include "ocelot_qsys.h" #include "ocelot_rew.h" #include "ocelot_qs.h" #include "ocelot_tc.h" diff --git a/drivers/net/ethernet/mscc/ocelot_ana.h b/include/soc/mscc/ocelot_ana.h similarity index 100% rename from drivers/net/ethernet/mscc/ocelot_ana.h rename to include/soc/mscc/ocelot_ana.h diff --git a/drivers/net/ethernet/mscc/ocelot_dev.h b/include/soc/mscc/ocelot_dev.h similarity index 100% rename from drivers/net/ethernet/mscc/ocelot_dev.h rename to include/soc/mscc/ocelot_dev.h diff --git a/drivers/net/ethernet/mscc/ocelot_qsys.h b/include/soc/mscc/ocelot_qsys.h similarity index 100% rename from drivers/net/ethernet/mscc/ocelot_qsys.h rename to include/soc/mscc/ocelot_qsys.h