All of lore.kernel.org
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@stusta.de>
To: Luca Risolia <luca.risolia@studio.unibo.it>
Cc: linux-usb-devel@lists.sourceforge.net, gregkh@suse.de,
	linux-kernel@vger.kernel.org
Subject: [2.6 patch] drivers/usb/media/sn9c102_core.c: make 2 functions static
Date: Mon, 18 Apr 2005 04:08:48 +0200	[thread overview]
Message-ID: <20050418020848.GC3625@stusta.de> (raw)

This patch makes two needlessly global functions static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

 drivers/usb/media/sn9c102_core.c   |    4 ++--
 drivers/usb/media/sn9c102_sensor.h |    2 --
 2 files changed, 2 insertions(+), 4 deletions(-)

--- linux-2.6.12-rc2-mm3-full/drivers/usb/media/sn9c102_sensor.h.old	2005-04-18 03:14:54.000000000 +0200
+++ linux-2.6.12-rc2-mm3-full/drivers/usb/media/sn9c102_sensor.h	2005-04-18 03:15:05.000000000 +0200
@@ -145,8 +145,6 @@
 */
 
 /* The "try" I2C I/O versions are used when probing the sensor */
-extern int sn9c102_i2c_try_write(struct sn9c102_device*,struct sn9c102_sensor*,
-                                 u8 address, u8 value);
 extern int sn9c102_i2c_try_read(struct sn9c102_device*,struct sn9c102_sensor*,
                                 u8 address);
 
--- linux-2.6.12-rc2-mm3-full/drivers/usb/media/sn9c102_core.c.old	2005-04-18 03:15:13.000000000 +0200
+++ linux-2.6.12-rc2-mm3-full/drivers/usb/media/sn9c102_core.c	2005-04-18 03:15:50.000000000 +0200
@@ -429,7 +429,7 @@
 }
 
 
-int 
+static int 
 sn9c102_i2c_try_write(struct sn9c102_device* cam,
                       struct sn9c102_sensor* sensor, u8 address, u8 value)
 {
@@ -785,7 +785,7 @@
 }
 
 
-int sn9c102_stream_interrupt(struct sn9c102_device* cam)
+static int sn9c102_stream_interrupt(struct sn9c102_device* cam)
 {
 	int err = 0;
 


             reply	other threads:[~2005-04-18  2:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-18  2:08 Adrian Bunk [this message]
2005-04-22 21:14 ` [2.6 patch] drivers/usb/media/sn9c102_core.c: make 2 functions static Greg KH

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=20050418020848.GC3625@stusta.de \
    --to=bunk@stusta.de \
    --cc=gregkh@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb-devel@lists.sourceforge.net \
    --cc=luca.risolia@studio.unibo.it \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.