net: dsa: Include platform_data header file
authorFlorian Fainelli <f.fainelli@gmail.com>
Tue, 15 Jan 2019 23:06:13 +0000 (15:06 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 Jan 2019 19:31:24 +0000 (11:31 -0800)
b53 and mv88e6xxx support passing platform_data, and now that we have
split the platform_data portion from the main net/dsa.h header file,
include only the relevant parts.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/platform_data/b53.h
include/linux/platform_data/mv88e6xxx.h

index 8eaef2f2b691e7f98a050ace421428c2afb69e8d..c3b61ead41f201d0ec5b1fee3769256b05581a58 100644 (file)
@@ -20,7 +20,7 @@
 #define __B53_H
 
 #include <linux/kernel.h>
-#include <net/dsa.h>
+#include <linux/platform_data/dsa.h>
 
 struct b53_platform_data {
        /* Must be first such that dsa_register_switch() can access it */
index f63af2955ea070504983f5d6c438798ea016a75a..963730b44aeaae4141c28a649eef2d3576623dfd 100644 (file)
@@ -2,7 +2,7 @@
 #ifndef __DSA_MV88E6XXX_H
 #define __DSA_MV88E6XXX_H
 
-#include <net/dsa.h>
+#include <linux/platform_data/dsa.h>
 
 struct dsa_mv88e6xxx_pdata {
        /* Must be first, such that dsa_register_switch() can access this