• Tony Breeds's avatar
    parport_pc: Fix build failure drivers/parport/parport_pc.c for powerpc · 19e05426
    Tony Breeds authored
    In commit 51dcdfec ("parport: Use the
    PCI IRQ if offered") parport_pc_probe_port() gained an irqflags arg.
    This isn't being supplied on powerpc.  This patch make powerpc fallback
    to the old behaviour, that is using "0" for irqflags.
    
    Fixes build failure:
    
      In file included from drivers/parport/parport_pc.c:68:
      arch/powerpc/include/asm/parport.h: In function 'parport_pc_find_nonpci_ports':
      arch/powerpc/include/asm/parport.h:32: error: too few arguments to function 'parport_pc_probe_port'
      arch/powerpc/include/asm/parport.h:32: error: too few arguments to function 'parport_pc_probe_port'
      arch/powerpc/include/asm/parport.h:32: error: too few arguments to function 'parport_pc_probe_port'
      make[3]: *** [drivers/parport/parport_pc.o] Error 1
    Signed-off-by: default avatarTony Breeds <tony@bakeyournoodle.com>
    Signed-off-by: default avatarAlan Cox <alan@linux.intel.com>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    19e05426
parport.h 980 Bytes