[PATCH] Staging: comedi: fix export symbol warnings in ni_daq_700.cThis is a patch to the ni_daq_700.c file that fixes several EXPORT_SYMBOLwarnings found by the checkpatch.pl toolSigned-off-by: Robert Babilon <robert.babilon@gmail.com>

From: Robert Babilon
Date: Thu Mar 11 2010 - 14:08:55 EST


---
drivers/staging/comedi/drivers/ni_daq_700.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/comedi/drivers/ni_daq_700.c b/drivers/staging/comedi/drivers/ni_daq_700.c
index c9b0395..c67fdfc 100644
--- a/drivers/staging/comedi/drivers/ni_daq_700.c
+++ b/drivers/staging/comedi/drivers/ni_daq_700.c
@@ -144,6 +144,7 @@ void subdev_700_interrupt(struct comedi_device *dev, struct comedi_subdevice *s)

comedi_event(dev, s);
}
+EXPORT_SYMBOL(subdev_700_interrupt);

static int subdev_700_cb(int dir, int port, int data, unsigned long arg)
{
@@ -325,6 +326,7 @@ int subdev_700_init(struct comedi_device *dev, struct comedi_subdevice *s,

return 0;
}
+EXPORT_SYMBOL(subdev_700_init);

int subdev_700_init_irq(struct comedi_device *dev, struct comedi_subdevice *s,
int (*cb) (int, int, int, unsigned long),
@@ -344,6 +346,7 @@ int subdev_700_init_irq(struct comedi_device *dev, struct comedi_subdevice *s,

return 0;
}
+EXPORT_SYMBOL(subdev_700_init_irq);

void subdev_700_cleanup(struct comedi_device *dev, struct comedi_subdevice *s)
{
@@ -352,11 +355,7 @@ void subdev_700_cleanup(struct comedi_device *dev, struct comedi_subdevice *s)

kfree(s->private);
}
-
-EXPORT_SYMBOL(subdev_700_init);
-EXPORT_SYMBOL(subdev_700_init_irq);
EXPORT_SYMBOL(subdev_700_cleanup);
-EXPORT_SYMBOL(subdev_700_interrupt);

static int dio700_attach(struct comedi_device *dev, struct comedi_devconfig *it)
{
--
1.6.3.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/