[PATCH 2.6.21-rc2] pmac ide: fix pmac_ide_dma_host_on() declaration

Sergei Shtylyov sshtylyov at ru.mvista.com
Sun Mar 4 04:28:47 EST 2007


Hello.

Mikael Pettersson wrote:
> Building 2.6.21-rc2 on a PowerMac, I get:
> 
> drivers/ide/ppc/pmac.c: In function 'pmac_ide_setup_dma':
> drivers/ide/ppc/pmac.c:2042: warning: assignment from incompatible pointer type
> drivers/ide/ppc/pmac.c: In function 'pmac_ide_dma_host_on':
> drivers/ide/ppc/pmac.c:1988: warning: control reaches end of non-void function

    This fix is already in the pata-2.6 and -mm trees and has just been pushed 
to Linus:

http://kernel.org/pub/linux/kernel/people/bart/pata-2.6/patches/ide-fix-pmac-breakage.patch

MBR, Sergei



More information about the Linuxppc-dev mailing list