dm: net: Adjust designware driver to support driver model
authorSimon Glass <sjg@chromium.org>
Sun, 5 Apr 2015 22:07:41 +0000 (16:07 -0600)
committerSimon Glass <sjg@chromium.org>
Sat, 18 Apr 2015 17:11:37 +0000 (11:11 -0600)
commit75577ba45a42420d91ccfd9b9ce4ea1298f507ef
treef6671dc41d825764f43973deb07d3553134ae4d0
parent64dcd25f55a06953bb1ed234ffbad233c107bc15
dm: net: Adjust designware driver to support driver model

Add driver model support to the designware driver. This reuses most of the
existing code except for some duplication in the probe() method.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/designware.c
drivers/net/designware.h