diff options
| author | Florian Fainelli <f.fainelli@gmail.com> | 2019-01-15 18:06:13 -0500 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2019-01-17 14:31:24 -0500 |
| commit | 8cfb5faf32e85b62f08cfe242ce80b2864d0b8f3 (patch) | |
| tree | 9f4ea263d14dccbd2ed693dd7dea0e30f3865250 /include/linux/platform_data | |
| parent | e5f02a3109927dbea1a8b339bce9ca86f8018275 (diff) | |
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: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/platform_data')
| -rw-r--r-- | include/linux/platform_data/b53.h | 2 | ||||
| -rw-r--r-- | include/linux/platform_data/mv88e6xxx.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/platform_data/b53.h b/include/linux/platform_data/b53.h index 8eaef2f2b691..c3b61ead41f2 100644 --- a/include/linux/platform_data/b53.h +++ b/include/linux/platform_data/b53.h | |||
| @@ -20,7 +20,7 @@ | |||
| 20 | #define __B53_H | 20 | #define __B53_H |
| 21 | 21 | ||
| 22 | #include <linux/kernel.h> | 22 | #include <linux/kernel.h> |
| 23 | #include <net/dsa.h> | 23 | #include <linux/platform_data/dsa.h> |
| 24 | 24 | ||
| 25 | struct b53_platform_data { | 25 | struct b53_platform_data { |
| 26 | /* Must be first such that dsa_register_switch() can access it */ | 26 | /* Must be first such that dsa_register_switch() can access it */ |
diff --git a/include/linux/platform_data/mv88e6xxx.h b/include/linux/platform_data/mv88e6xxx.h index f63af2955ea0..963730b44aea 100644 --- a/include/linux/platform_data/mv88e6xxx.h +++ b/include/linux/platform_data/mv88e6xxx.h | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | #ifndef __DSA_MV88E6XXX_H | 2 | #ifndef __DSA_MV88E6XXX_H |
| 3 | #define __DSA_MV88E6XXX_H | 3 | #define __DSA_MV88E6XXX_H |
| 4 | 4 | ||
| 5 | #include <net/dsa.h> | 5 | #include <linux/platform_data/dsa.h> |
| 6 | 6 | ||
| 7 | struct dsa_mv88e6xxx_pdata { | 7 | struct dsa_mv88e6xxx_pdata { |
| 8 | /* Must be first, such that dsa_register_switch() can access this | 8 | /* Must be first, such that dsa_register_switch() can access this |
