[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20070729145902.GD16817@stusta.de>
Date: Sun, 29 Jul 2007 16:59:02 +0200
From: Adrian Bunk <bunk@...sta.de>
To: Kevin Lloyd <linux@...rrawireless.com>,
Greg Kroah-Hartman <gregkh@...e.de>
Cc: linux-usb-devel@...ts.sourceforge.net, linux-kernel@...r.kernel.org
Subject: [2.6 patch] drivers/usb/serial/sierra.c: make 3 functions static
This patch makes three needlessly global functions static.
Signed-off-by: Adrian Bunk <bunk@...sta.de>
---
drivers/usb/serial/sierra.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
--- linux-2.6.23-rc1-mm1/drivers/usb/serial/sierra.c.old 2007-07-26 21:52:27.000000000 +0200
+++ linux-2.6.23-rc1-mm1/drivers/usb/serial/sierra.c 2007-07-26 21:53:20.000000000 +0200
@@ -45,7 +45,7 @@
DEVICE_INSTALLER = 2,
};
-int sierra_set_power_state(struct usb_device *udev, __u16 swiState)
+static int sierra_set_power_state(struct usb_device *udev, __u16 swiState)
{
int result;
dev_dbg(&udev->dev, "%s", "SET POWER STATE");
@@ -60,7 +60,7 @@
return result;
}
-int sierra_set_ms_mode(struct usb_device *udev, __u16 eSocMode)
+static int sierra_set_ms_mode(struct usb_device *udev, __u16 eSocMode)
{
int result;
dev_dbg(&udev->dev, "%s", "DEVICE MODE SWITCH");
@@ -75,7 +75,8 @@
return result;
}
-int sierra_probe(struct usb_interface *iface, const struct usb_device_id *id)
+static int sierra_probe(struct usb_interface *iface,
+ const struct usb_device_id *id)
{
int result;
struct usb_device *udev;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists