aboutsummaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorJoachim Eastwood <manabian@gmail.com>2015-05-20 20:03:07 +0200
committerDavid S. Miller <davem@davemloft.net>2015-05-21 18:57:26 -0400
commite56788cf13eef6e998bc03200df9e00f64a3202d (patch)
tree31049d4bc799d28b005beecfe1501e39f95c1fcf /net/switchdev/switchdev.c
parent803f8fc46274bbd15757961be44a58ea6f3032d4 (diff)
downloadlinux-e56788cf13eef6e998bc03200df9e00f64a3202d.tar.gz
linux-e56788cf13eef6e998bc03200df9e00f64a3202d.tar.bz2
linux-e56788cf13eef6e998bc03200df9e00f64a3202d.zip
stmmac: let stmmac_dvr_probe take a struct of resources
Creat a struct that contain all the resources that needs to be assigned to the priv struct in stmmac_dvr_probe. This makes it possible to factor out more common code from the other probe functions and also use this struct to hold the resources as they are fetched. Signed-off-by: Joachim Eastwood <manabian@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions