]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: provide a switch device device tree node pointer
authorFlorian Fainelli <f.fainelli@gmail.com>
Thu, 28 Aug 2014 00:04:49 +0000 (17:04 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Aug 2014 05:59:39 +0000 (22:59 -0700)
commit5406ed307d43ac3d0b8219565e2a31a5cc3cb370
tree8452bf0e5628615193033b4a4aaa83c6562d4b66
parentf168f59ee26b0fc3d8ba9bcdcab918d6aec9fb94
net: dsa: provide a switch device device tree node pointer

We might need to fetch additional resources from the device tree node
pointer, such as register ranges or other properties. Keep a device_node
pointer around for this.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/dsa.h
net/dsa/dsa.c