Greg:
This fixes an obvious error (it even generates a compiler diagnostic!) in
the new modalias attribute routine. If the new routine has made it
into 2.6.12 then this patch had better go with it.
Alan Stern
PS: This is what I was referring to earlier; the error was not in sysfs
but in usbcore. It's not clear whether this is related to the error
reported by roel -- probably not.
Signed-off-by: Alan Stern <[EMAIL PROTECTED]>
--- a/drivers/usb/core/sysfs.c Mon Jun 13 15:00:06 2005
+++ b/drivers/usb/core/sysfs.c Thu Jun 16 23:38:29 2005
@@ -286,7 +286,7 @@
}
static DEVICE_ATTR(interface, S_IRUGO, show_interface_string, NULL);
-static ssize_t show_modalias(struct device *dev, struct device_attribute
*attr, char *buf)
+static ssize_t show_modalias(struct device *dev, char *buf)
{
struct usb_interface *intf;
struct usb_device *udev;
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel