Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

usb: host: uhci-platform: Fix module autoload for OF platform driver

This platform driver has a OF device ID table but the OF module
alias information is not created so module autoloading won't work.

Signed-off-by: Luis de Bethencourt <luisbg@osg.samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Luis de Bethencourt and committed by
Greg Kroah-Hartman
e2f39511 04c0b766

+1
+1
drivers/usb/host/uhci-platform.c
··· 140 140 { .compatible = "platform-uhci", }, 141 141 {} 142 142 }; 143 + MODULE_DEVICE_TABLE(of, platform_uhci_ids); 143 144 144 145 static struct platform_driver uhci_platform_driver = { 145 146 .probe = uhci_hcd_platform_probe,