[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20061121210254.GP5200@stusta.de>
Date: Tue, 21 Nov 2006 22:02:54 +0100
From: Adrian Bunk <bunk@...sta.de>
To: Andrew Morton <akpm@...l.org>
Cc: gregkh@...e.de, linux-kernel@...r.kernel.org,
linux-usb-devel@...ts.sourceforge.net
Subject: [2.6 patch] make drivers/usb/core/driver.c:usb_device_match() static
usb_device_match() can now become static.
Signed-off-by: Adrian Bunk <bunk@...sta.de>
---
This patch was already sent on:
- 4 Sep 2006
- 22 Aug 2006
- 15 Aug 2006
--- linux-2.6.18-rc1-mm2-full/drivers/usb/core/driver.c.old 2006-07-14 23:29:20.000000000 +0200
+++ linux-2.6.18-rc1-mm2-full/drivers/usb/core/driver.c 2006-07-14 23:29:51.000000000 +0200
@@ -471,7 +471,7 @@
}
EXPORT_SYMBOL_GPL_FUTURE(usb_match_id);
-int usb_device_match(struct device *dev, struct device_driver *drv)
+static int usb_device_match(struct device *dev, struct device_driver *drv)
{
/* devices and interfaces are handled separately */
if (is_usb_device(dev)) {
-
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