Staging: comedi: fixing ni_tio to mite PCI dependancy
authorAlexander Kurz <linux@blala.de>
Wed, 19 May 2010 20:32:42 +0000 (00:32 +0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 4 Jun 2010 20:38:54 +0000 (13:38 -0700)
commit34ef545aa8c68d91e2e503ac05c129094772afb4
treef95954217b9e9b2149098e56aa803cb79ca1c6f3
parent824196248c1f28aa7d151fd5b11d76182c751f19
Staging: comedi: fixing ni_tio to mite PCI dependancy

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>
drivers/staging/comedi/Kconfig