OSDN Git Service

net: dsa: utilize of_find_net_device_by_node
[sagit-ice-cold/kernel_xiaomi_msm8998.git] / include / net / dsa.h
index b525ac5..47917e5 100644 (file)
@@ -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