Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

net: mscc: ocelot: publish ocelot_sys.h to include/soc/mscc

The Felix DSA driver needs to write to SYS_RAM_INIT_RAM_INIT for its own
chip initialization process.

Also update the MAINTAINERS file such that the headers exported by the
ocelot driver are under the same maintainers' umbrella as the driver
itself.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Vladimir Oltean and committed by
David S. Miller
a030dfe1 5e256365

+2 -1
+1
MAINTAINERS
··· 10834 10834 L: netdev@vger.kernel.org 10835 10835 S: Supported 10836 10836 F: drivers/net/ethernet/mscc/ 10837 + F: include/soc/mscc/ocelot* 10837 10838 10838 10839 MICROSOFT SURFACE PRO 3 BUTTON DRIVER 10839 10840 M: Chen Yu <yu.c.chen@intel.com>
+1 -1
drivers/net/ethernet/mscc/ocelot.h
··· 18 18 #include <linux/ptp_clock_kernel.h> 19 19 #include <linux/regmap.h> 20 20 21 + #include <soc/mscc/ocelot_sys.h> 21 22 #include <soc/mscc/ocelot.h> 22 23 #include "ocelot_ana.h" 23 24 #include "ocelot_dev.h" 24 25 #include "ocelot_qsys.h" 25 26 #include "ocelot_rew.h" 26 - #include "ocelot_sys.h" 27 27 #include "ocelot_qs.h" 28 28 #include "ocelot_tc.h" 29 29 #include "ocelot_ptp.h"
drivers/net/ethernet/mscc/ocelot_sys.h include/soc/mscc/ocelot_sys.h