Re: [PATCH] rtsx_usb: export device table
From: Andrew Morton
Date: Fri Aug 08 2014 - 18:20:30 EST
On Fri, 08 Aug 2014 17:31:51 -0400 Jeff Mahoney <jeffm@xxxxxxxx> wrote:
> The rtsx_usb driver contains the table for the devices it supports but
> doesn't export it. As a result, no alias is generated and it doesn't
> get loaded automatically.
>
> Via https://bugzilla.novell.com/show_bug.cgi?id=890096
>
> ...
>
> --- a/drivers/mfd/rtsx_usb.c
> +++ b/drivers/mfd/rtsx_usb.c
> @@ -744,6 +744,7 @@ static struct usb_device_id rtsx_usb_usb
> { USB_DEVICE(0x0BDA, 0x0140) },
> { }
> };
> +MODULE_DEVICE_TABLE(usb, rtsx_usb_usb_ids);
>
> static struct usb_driver rtsx_usb_driver = {
> .name = "rtsx_usb",
>
I'd normally duck a patch like this because I don't do MFD.
But you omitted the Cc:stable tag, so I grabbed the patch to ensure
that this tag is included.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/