]> git.kernelconcepts.de Git - karo-tx-linux.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)
commitfa981d9af82e08f316ed25ed43078f995cc4be0a
tree8452bf0e5628615193033b4a4aaa83c6562d4b66
parent464c3668f065baeacfffa9d421959d21069389fe
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