OSDN Git Service

net: mscc: ocelot: export ANA, DEV and QSYS registers to include/soc/mscc
authorVladimir Oltean <vladimir.oltean@nxp.com>
Mon, 6 Jan 2020 01:34:16 +0000 (03:34 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Jan 2020 07:22:33 +0000 (23:22 -0800)
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 <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mscc/ocelot.h
include/soc/mscc/ocelot_ana.h [moved from drivers/net/ethernet/mscc/ocelot_ana.h with 100% similarity]
include/soc/mscc/ocelot_dev.h [moved from drivers/net/ethernet/mscc/ocelot_dev.h with 100% similarity]
include/soc/mscc/ocelot_qsys.h [moved from drivers/net/ethernet/mscc/ocelot_qsys.h with 100% similarity]

index 7b77d44..04372ba 100644 (file)
 #include <linux/ptp_clock_kernel.h>
 #include <linux/regmap.h>
 
+#include <soc/mscc/ocelot_qsys.h>
 #include <soc/mscc/ocelot_sys.h>
+#include <soc/mscc/ocelot_dev.h>
+#include <soc/mscc/ocelot_ana.h>
 #include <soc/mscc/ocelot.h>
-#include "ocelot_ana.h"
-#include "ocelot_dev.h"
-#include "ocelot_qsys.h"
 #include "ocelot_rew.h"
 #include "ocelot_qs.h"
 #include "ocelot_tc.h"