]> git.karo-electronics.de Git - linux-beck.git/commit
net: ethernet: mediatek: fix module loading automatically based on MODULE_DEVICE_TABLE
authorSean Wang <sean.wang@mediatek.com>
Wed, 14 Sep 2016 13:29:34 +0000 (21:29 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 Sep 2016 08:19:54 +0000 (04:19 -0400)
commit7077dc415b113ac17a6696c432bad2d66574e4fb
treea4d8ddf23322465a846f055a1784480577418625
parent6777ae8083f132baa4270f40e31776274f989a07
net: ethernet: mediatek: fix module loading automatically based on MODULE_DEVICE_TABLE

The device table is required to load modules based on
modaliases. After adding MODULE_DEVICE_TABLE, below entries
for example will be added to modules.alias:
alias of:N*T*Cmediatek,mt7623-ethC* mtk_eth_soc

Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mediatek/mtk_eth_soc.c