Commit 8cfb5faf authored by Florian Fainelli's avatar Florian Fainelli Committed by David S. Miller

net: dsa: Include platform_data header file

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: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent e5f02a31
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#define __B53_H #define __B53_H
#include <linux/kernel.h> #include <linux/kernel.h>
#include <net/dsa.h> #include <linux/platform_data/dsa.h>
struct b53_platform_data { struct b53_platform_data {
/* Must be first such that dsa_register_switch() can access it */ /* Must be first such that dsa_register_switch() can access it */
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
#ifndef __DSA_MV88E6XXX_H #ifndef __DSA_MV88E6XXX_H
#define __DSA_MV88E6XXX_H #define __DSA_MV88E6XXX_H
#include <net/dsa.h> #include <linux/platform_data/dsa.h>
struct dsa_mv88e6xxx_pdata { struct dsa_mv88e6xxx_pdata {
/* Must be first, such that dsa_register_switch() can access this /* Must be first, such that dsa_register_switch() can access this
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment