]> git.baikalelectronics.ru Git - kernel.git/commit
net: mvmdio: define module alias for platform device
authorSimon Baatz <gmbnomis@gmail.com>
Sun, 24 Mar 2013 10:33:59 +0000 (10:33 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 24 Mar 2013 21:07:15 +0000 (17:07 -0400)
commitbd9db50f7664a1b32a31d8077482300adb9408e4
tree99586c0b2ce3509903ee6e88b1d967fccc4c9316
parent4d7b1aecbc012c9f70d30917ca6727b3d99f1192
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 <gmbnomis@gmail.com>
Acked-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvmdio.c