diff options
author | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2011-08-12 02:06:28 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-08-12 02:06:28 -0400 |
commit | 5ff2241dd42ade03572753f9ed7743719b47c474 (patch) | |
tree | 3e4d2fbf7e4bbb7de3675800856572e93a67a703 /drivers/net/ethernet/sun/Makefile | |
parent | af3dcd2f449b7243a4c7b987125ffc40fad262f0 (diff) |
spider_net: fix compile issue introduced by driver move
Both Spider net driver and Sun GEM driver use the sungem_phy.o object.
This fix creates a Kconfig object for sungem_phy (like MDIO) so that
both drivers require the SUNGEM_PHY object.
This has been compile tested for the Sun GEM driver.
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/sun/Makefile')
-rw-r--r-- | drivers/net/ethernet/sun/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/ethernet/sun/Makefile b/drivers/net/ethernet/sun/Makefile index 4f25217a75f8..6e25dad6070e 100644 --- a/drivers/net/ethernet/sun/Makefile +++ b/drivers/net/ethernet/sun/Makefile | |||
@@ -5,7 +5,8 @@ | |||
5 | obj-$(CONFIG_HAPPYMEAL) += sunhme.o | 5 | obj-$(CONFIG_HAPPYMEAL) += sunhme.o |
6 | obj-$(CONFIG_SUNQE) += sunqe.o | 6 | obj-$(CONFIG_SUNQE) += sunqe.o |
7 | obj-$(CONFIG_SUNBMAC) += sunbmac.o | 7 | obj-$(CONFIG_SUNBMAC) += sunbmac.o |
8 | obj-$(CONFIG_SUNGEM) += sungem.o sungem_phy.o | 8 | obj-$(CONFIG_SUNGEM) += sungem.o |
9 | obj-$(CONFIG_SUNGEM_PHY) += sungem_phy.o | ||
9 | obj-$(CONFIG_CASSINI) += cassini.o | 10 | obj-$(CONFIG_CASSINI) += cassini.o |
10 | obj-$(CONFIG_SUNVNET) += sunvnet.o | 11 | obj-$(CONFIG_SUNVNET) += sunvnet.o |
11 | obj-$(CONFIG_NIU) += niu.o | 12 | obj-$(CONFIG_NIU) += niu.o |