staging: fix comedi NI labpc driver build when ISA_DMA_API is not enabled
authorRandy Dunlap <randy.dunlap@oracle.com>
Sat, 2 Jul 2011 18:44:36 +0000 (11:44 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 5 Jul 2011 16:24:18 +0000 (09:24 -0700)
commit3297d6c7c84a2a3f62b41b703a2963759e822e96
tree6d8b5e0d64daf9c6e5e9eeb87e6123216adf65d4
parent819cbb120eaec7e014e5abd029260db1ca8c5735
staging: fix comedi NI labpc driver build when ISA_DMA_API is not enabled

Fix ni_labpc.c to build when CONFIG_ISA_DMA_API is not enabled.

This is a driver that supports both ISA and PCI devices.
It now builds when for PCI-only support or for both
ISA and PCI device support.
(It does not support ISA-only without PCI.)

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/comedi/drivers/ni_labpc.c