Make pasemi_mac.c depend on PPC_PASEMI to prevent link errors
authorMichael Ellerman <michael@ellerman.id.au>
Fri, 28 Mar 2008 01:17:33 +0000 (12:17 +1100)
committerJeff Garzik <jeff@garzik.org>
Sat, 29 Mar 2008 01:52:35 +0000 (21:52 -0400)
commit5beaf7d6f89c13b2414656e994d3ee6350e99d3a
treef608040adf1031c854a86d069631bc2333bb125e
parentf70e550df83f9eb98b342257aa589860630eae41
Make pasemi_mac.c depend on PPC_PASEMI to prevent link errors

drivers/net/pasemi_mac.c is enabled by CONFIG_PASEMI_MAC, which depends on
PPC64 && PCI. However pasemi_mac.c uses several routines that are only
built when PPC_PASEMI is selected. This can lead to an unbuildable config:

 ERROR: ".pasemi_dma_start_chan" [drivers/net/pasemi_mac.ko] undefined!

So make CONFIG_PASEMI_MAC depend on PPC_PASEMI instead of PPC64.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/Kconfig