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

From: Olof Johansson <[email-masked]>
Date: Thu, 27 Mar 2008 20:54:14 -0500

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 <[email-masked]>

Acked-by: Olof Johansson <[email-masked]>

-Olof