From: Jeff Mahoney Date: Tue, 12 Aug 2014 20:46:09 +0000 (-0700) Subject: drivers/mfd/rtsx_usb.c: export device table X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1813908986e36119228c158aae1c6a0267c99e77;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git drivers/mfd/rtsx_usb.c: export device table 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 Signed-off-by: Jeff Mahoney Reported-by: Marcel Witte Cc: Roger Tseng Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/mfd/rtsx_usb.c b/drivers/mfd/rtsx_usb.c index 6352bec8419a..71f387ce8cbd 100644 --- a/drivers/mfd/rtsx_usb.c +++ b/drivers/mfd/rtsx_usb.c @@ -744,6 +744,7 @@ static struct usb_device_id rtsx_usb_usb_ids[] = { { USB_DEVICE(0x0BDA, 0x0140) }, { } }; +MODULE_DEVICE_TABLE(usb, rtsx_usb_usb_ids); static struct usb_driver rtsx_usb_driver = { .name = "rtsx_usb",