]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blob - src/patches/linux-2.6.32.27_mcs7830-fix-driver-name.patch
Fix Moschip mcs7830 uevent modulname entry.
[people/pmueller/ipfire-2.x.git] / src / patches / linux-2.6.32.27_mcs7830-fix-driver-name.patch
1 Patch by Arne Fitzenreiter <arne_f@ipfire.org>
2 Fix uevent PHYSDEVDRIVER entry
3
4 diff -Naur linux-2.6.32.27.org/drivers/net/usb/mcs7830.c linux-2.6.32.27/drivers/net/usb/mcs7830.c
5 --- linux-2.6.32.27.org/drivers/net/usb/mcs7830.c 2010-12-09 22:29:45.000000000 +0100
6 +++ linux-2.6.32.27/drivers/net/usb/mcs7830.c 2010-12-26 16:51:21.344792257 +0100
7 @@ -88,7 +88,7 @@
8 u8 config;
9 };
10
11 -static const char driver_name[] = "MOSCHIP usb-ethernet driver";
12 +static const char driver_name[] = "mcs7830";
13
14 static int mcs7830_get_reg(struct usbnet *dev, u16 index, u16 size, void *data)
15 {