diff options
| author | Tony Breeds <[email protected]> | 2009-04-14 13:58:41 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2009-04-14 15:48:50 +0000 |
| commit | 19e05426201651fe24c4e07bef7f6de0d2305218 (patch) | |
| tree | 89521781eedc280373c0c0e737e106b3a6dcc576 /security/selinux/hooks.c | |
| parent | parport: Fix various uses of parport_pc (diff) | |
| download | kernel-19e05426201651fe24c4e07bef7f6de0d2305218.tar.gz kernel-19e05426201651fe24c4e07bef7f6de0d2305218.zip | |
parport_pc: Fix build failure drivers/parport/parport_pc.c for powerpc
In commit 51dcdfec6a274afc1c6fce180d582add9ff512c0 ("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: Tony Breeds <[email protected]>
Signed-off-by: Alan Cox <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions
