diff options
author | Quentin Schulz <quentin.schulz@bootlin.com> | 2018-10-04 14:22:01 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-10-05 23:36:44 +0200 |
commit | 8afc978925ba0a0e8c7f76ebd0d764de0da2c0e9 (patch) | |
tree | e82f219e00eb1edba0af8db828f2e82d4ef14f3c | |
parent | net: mscc: ocelot: get HSIO regmap from syscon (diff) | |
download | linux-8afc978925ba0a0e8c7f76ebd0d764de0da2c0e9.tar.xz linux-8afc978925ba0a0e8c7f76ebd0d764de0da2c0e9.zip |
net: mscc: ocelot: move the HSIO header to include/soc
Since HSIO address space can be used by different drivers (PLL, SerDes
muxing, temperature sensor), let's move it somewhere it can be included
by all drivers.
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Quentin Schulz <quentin.schulz@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/ethernet/mscc/ocelot.h | 2 | ||||
-rw-r--r-- | include/soc/mscc/ocelot_hsio.h (renamed from drivers/net/ethernet/mscc/ocelot_hsio.h) | 0 |
2 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/mscc/ocelot.h b/drivers/net/ethernet/mscc/ocelot.h index 616bec30dfa3..d3980158c4a3 100644 --- a/drivers/net/ethernet/mscc/ocelot.h +++ b/drivers/net/ethernet/mscc/ocelot.h @@ -13,10 +13,10 @@ #include <linux/if_vlan.h> #include <linux/platform_device.h> #include <linux/regmap.h> +#include <soc/mscc/ocelot_hsio.h> #include "ocelot_ana.h" #include "ocelot_dev.h" -#include "ocelot_hsio.h" #include "ocelot_qsys.h" #include "ocelot_rew.h" #include "ocelot_sys.h" diff --git a/drivers/net/ethernet/mscc/ocelot_hsio.h b/include/soc/mscc/ocelot_hsio.h index d93ddec3931b..d93ddec3931b 100644 --- a/drivers/net/ethernet/mscc/ocelot_hsio.h +++ b/include/soc/mscc/ocelot_hsio.h |