]> git.sur5r.net Git - u-boot/commit
net/ethoc: support device tree
authorMax Filippov <jcmvbkbc@gmail.com>
Fri, 5 Aug 2016 15:26:18 +0000 (18:26 +0300)
committerJoe Hershberger <joe.hershberger@ni.com>
Mon, 15 Aug 2016 18:34:47 +0000 (13:34 -0500)
commit2de18c8d77b026115dbe6b3e1a35446e31d3dbad
tree91e681135a6fd5af5758fcf60cb8affbe233574d
parent5d43feabf3707ae4e879b54450e5a3c3c664b2b9
net/ethoc: support device tree

Add .of_match table and .ofdata_to_platdata callback to allow for ethoc
device configuration from the device tree.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/ethoc.c