mirror of https://gitee.com/openkylin/linux.git
fec: Add MODULE_ALIAS
Add MODULE_ALIAS, so that auto module loading can work. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
7aa0076c49
commit
f8c0aca9fd
|
@ -2279,4 +2279,5 @@ static struct platform_driver fec_driver = {
|
||||||
|
|
||||||
module_platform_driver(fec_driver);
|
module_platform_driver(fec_driver);
|
||||||
|
|
||||||
|
MODULE_ALIAS("platform:"DRIVER_NAME);
|
||||||
MODULE_LICENSE("GPL");
|
MODULE_LICENSE("GPL");
|
||||||
|
|
Loading…
Reference in New Issue