From: Simon Baatz Date: Sun, 24 Mar 2013 10:33:59 +0000 (+0000) Subject: net: mvmdio: define module alias for platform device X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=404b8bed14097fb6fe74cc7fcf72781714ed263a;p=linux-beck.git net: mvmdio: define module alias for platform device The mvmdio driver can be instantiated using device tree or as a classic platform device. In order to load the driver automatically by udev in the latter case, the driver needs to define a module alias for the platform device. Signed-off-by: Simon Baatz Acked-by: Florian Fainelli Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/marvell/mvmdio.c b/drivers/net/ethernet/marvell/mvmdio.c index 3472574602b2..7b5158f654c2 100644 --- a/drivers/net/ethernet/marvell/mvmdio.c +++ b/drivers/net/ethernet/marvell/mvmdio.c @@ -295,3 +295,4 @@ module_platform_driver(orion_mdio_driver); MODULE_DESCRIPTION("Marvell MDIO interface driver"); MODULE_AUTHOR("Thomas Petazzoni "); MODULE_LICENSE("GPL"); +MODULE_ALIAS("platform:orion-mdio");