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

net: phy: mdio-bcm-unimac: 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>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Luis de Bethencourt and committed by
David S. Miller
2f90a307 a11d5585

+1
+1
drivers/net/phy/mdio-bcm-unimac.c
··· 244 244 { .compatible = "brcm,unimac-mdio", }, 245 245 { /* sentinel */ }, 246 246 }; 247 + MODULE_DEVICE_TABLE(of, unimac_mdio_ids); 247 248 248 249 static struct platform_driver unimac_mdio_driver = { 249 250 .driver = {