]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: mvneta: enable features before registering the driver
authorwilly tarreau <w@1wt.eu>
Sat, 6 Apr 2013 08:47:01 +0000 (08:47 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Apr 2013 16:16:38 +0000 (12:16 -0400)
commitb50b72de2f2feed4adfbd8e18610a393b5a04cc7
tree92c6341d0517a7036a02ae3f871af0fac6ee013b
parentf1ea3cd70110d482ef1ce6ef158df113aa366f43
net: mvneta: enable features before registering the driver

It seems that the reason why the dev features were ignored was because
they were enabled after registeration.

Signed-off-by: Willy Tarreau <w@1wt.eu>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvneta.c