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>
This commit is contained in:
parent
e5f02a3109
commit
8cfb5faf32
|
@ -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 */
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue