]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: bcm_sf2: Fix build module
authorFlorian Fainelli <f.fainelli@gmail.com>
Tue, 31 Jan 2017 03:17:16 +0000 (19:17 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 31 Jan 2017 18:36:59 +0000 (13:36 -0500)
commit4dde9755f83490c380f5c18e20bf64c9aebdc9fe
treea32850d81bbbd65e00594ea29abe90511b69f6cd
parent6f75ff93fe6ced8830a61df024e18a032a672351
net: dsa: bcm_sf2: Fix build module

Commit 8d74278c0f50 ("net: dsa: bcm_sf2: Add support for
ethtool::rxnfc") added a new object to build: bcm_sf2_cfp.o, but in
doing so, we essentially just built this object and no longer bcm_sf2.o.

Fix this by creating a module named bcm-sf2.ko which links in bcm_sf2.o
and bcm_sf2_cfp.o.

Fixes: 8d74278c0f50 ("net: dsa: bcm_sf2: Add support for ethtool::rxnfc")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/Makefile