Skip to content

Commit

Permalink
Staging: comedi: fixing ni_tio to mite PCI dependancy
Browse files Browse the repository at this point in the history
On Wed, 19 May 2010, Randy Dunlap wrote:
> linux-next of 2010-0519:
> when CONFIG_PCI is not enabled:
> 
> drivers/staging/comedi/drivers/mite.c: In function 'mite_init':
> drivers/staging/comedi/drivers/mite.c:89: error: implicit declaration of function 'pci_dev_get'
> drivers/staging/comedi/drivers/mite.c:89: warning: assignment makes pointer from integer without a cast
> make[5]: *** [drivers/staging/comedi/drivers/mite.o] Error 1

This patch fixes the problem.

Signed-off-by: Alexander Kurz <linux@kbdbabel.org>
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Alexander Kurz authored and Greg Kroah-Hartman committed Jun 4, 2010
1 parent 8241962 commit 34ef545
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/comedi/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -1267,8 +1267,8 @@ config COMEDI_MITE

config COMEDI_NI_TIO
tristate "NI general purpose counter support"
depends on COMEDI_MITE
select COMEDI_8255
select COMEDI_MITE
default N
---help---
Enable support for National Instruments general purpose counters.
Expand Down

0 comments on commit 34ef545

Please sign in to comment.