From: Simon Baatz Date: Sun, 24 Mar 2013 10:33:59 +0000 (+0000) Subject: net: mvmdio: define module alias for platform device X-Git-Tag: v3.10-rc1~66^2~361 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=404b8bed14097fb6fe74cc7fcf72781714ed263a;p=platform%2Fkernel%2Flinux-exynos.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 3472574..7b5158f 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");