summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2008-11-19 13:59:44 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2009-01-06 13:52:26 -0800
commit7b1f281350ca1ba1f740ced203136d27390b22c1 (patch)
treec3da170a2d9d4c34c5037c9b7e4c65bafd84aef0
parent5604ec6fb65ba388b698d8490f797267470b8b23 (diff)
downloadop-kernel-dev-7b1f281350ca1ba1f740ced203136d27390b22c1.zip
op-kernel-dev-7b1f281350ca1ba1f740ced203136d27390b22c1.tar.gz
Staging: comedi: comedi_pci.h: remove comedi_pci_enable_no_regions
comedi_pci_enable_no_regions is not called by any comedi code (in or out of the kernel tree), so remove it, so no one tries to use it in the future. Cc: David Schleef <ds@schleef.org> Cc: Frank Mori Hess <fmhess@users.sourceforge.net> Cc: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--drivers/staging/comedi/drivers/comedi_pci.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/staging/comedi/drivers/comedi_pci.h b/drivers/staging/comedi/drivers/comedi_pci.h
index 5475941..09c9a44 100644
--- a/drivers/staging/comedi/drivers/comedi_pci.h
+++ b/drivers/staging/comedi/drivers/comedi_pci.h
@@ -29,15 +29,6 @@
#include <linux/pci.h>
/*
- * Enables PCI device without requesting regions. Just a simple wrapper
- * for pci_enable_device().
- */
-static inline int comedi_pci_enable_no_regions(struct pci_dev *pdev)
-{
- return pci_enable_device(pdev);
-}
-
-/*
* Called to disable PCI device if PCI device has been enabled, but
* PCI regions have not been reserved.
*
OpenPOWER on IntegriCloud