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 8eaef2f..c3b61ea 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 f63af29..963730b 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