[PATCH] Make pasemi_mac.c depend on PPC_PASEMI to prevent link errors

Olof Johansson olof at lixom.net
Fri Mar 28 12:54:14 EST 2008


On Fri, Mar 28, 2008 at 12:17:33PM +1100, Michael Ellerman wrote:
> 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.
> 

Ah, good catch. It was OK until I introduced dma_lib under
platforms/pasemi.

> Signed-off-by: Michael Ellerman <michael at ellerman.id.au>

Acked-by: Olof Johansson <olof at lixom.net>


-Olof



More information about the Linuxppc-dev mailing list