net: dsa: Set a "dsa" device_type
authorFlorian Fainelli <f.fainelli@gmail.com>
Thu, 24 Sep 2015 01:19:58 +0000 (18:19 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 25 Sep 2015 19:25:16 +0000 (12:25 -0700)
commitf37db85d0c1eb6e4e8460cf7a13cfba42bfc2cb0
tree887cfff0d67e4092ceea428ea483a9e0e7e0a0cc
parent4110b282059c6ddefe874b718756bbc3bc2db515
net: dsa: Set a "dsa" device_type

Provide a device_type information for slave network devices created by
DSA, this is useful for user-space application to easily locate/search
for devices of a specific kind.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/slave.c