mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Robert Babilon <robert.babilon@gmail.com>
To: gregkh@suse.de, wfp5p@virginia.edu, linux@dominikbrodowski.net,
	keil@b1-systems.de
Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org
Subject: patch for file ni_daq_700.c
Date: Thu, 11 Mar 2010 13:45:35 -0600 (CST)	[thread overview]
Message-ID: <alpine.DEB.2.00.1003111342390.25539@robert-desktopkde4> (raw)

>From a4db480a5dfc9912a52a43e57a0775c013c3bb09 Mon Sep 17 00:00:00 2001
From: Robert Babilon <robert.babilon@gmail.com>
Date: Thu, 11 Mar 2010 13:08:55 -0600
Subject: [PATCH] Staging: comedi: fix export symbol warnings in ni_daq_700.c
 This is a patch to the ni_daq_700.c file that fixes several EXPORT_SYMBOL
 warnings found by the checkpatch.pl tool
 Signed-off-by: Robert Babilon <robert.babilon@gmail.com>

---
 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


                 reply	other threads:[~2010-03-11 19:45 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.DEB.2.00.1003111342390.25539@robert-desktopkde4 \
    --to=robert.babilon@gmail.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=gregkh@suse.de \
    --cc=keil@b1-systems.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@dominikbrodowski.net \
    --cc=wfp5p@virginia.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®