OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: dsa: utilize of_find_net_device_by_node
[sagit-ice-cold/kernel_xiaomi_msm8998.git]
/
include
/
net
/
dsa.h
diff --git
a/include/net/dsa.h
b/include/net/dsa.h
index
b525ac5
..
47917e5
100644
(file)
--- a/
include/net/dsa.h
+++ b/
include/net/dsa.h
@@
-72,6
+72,7
@@
struct dsa_platform_data {
* to the root switch chip of the tree.
*/
struct device *netdev;
+ struct net_device *of_netdev;
/*
* Info structs describing each of the switch chips