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

usb: host: ohci-spear: 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
04c0b766 8ddb9b88

+1
+1
drivers/usb/host/ohci-spear.c
··· 161 161 { .compatible = "st,spear600-ohci", }, 162 162 { }, 163 163 }; 164 + MODULE_DEVICE_TABLE(of, spear_ohci_id_table); 164 165 165 166 /* Driver definition to register with the platform bus */ 166 167 static struct platform_driver spear_ohci_hcd_driver = {