On Thu, Jun 16, 2005 at 11:50:53PM -0400, Alan Stern wrote:
> 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.
No, that's not in 2.6.12. (it's now released, you can check this
yourself...)
> 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;
No, we need that extra paramater, due to the other changes in my driver
git tree.
What tree did you diff this against?
thanks,
greg k-h
-------------------------------------------------------
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