summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/qualcomm
diff options
context:
space:
mode:
authorTaehee Yoo <ap420073@gmail.com>2020-03-05 00:24:42 +0100
committerDavid S. Miller <davem@davemloft.net>2020-03-05 20:47:10 +0100
commiteed22a0685d651fc531bc63f215bb2a71d4b98e5 (patch)
tree80a1090aa9b122b34222bd8fd1a66cb4b6a99cd8 /drivers/net/ethernet/qualcomm
parentMerge branch 'marvell10g-tunable-and-power-saving-support' (diff)
downloadlinux-eed22a0685d651fc531bc63f215bb2a71d4b98e5.tar.xz
linux-eed22a0685d651fc531bc63f215bb2a71d4b98e5.zip
net: rmnet: add missing module alias
In the current rmnet code, there is no module alias. So, RTNL couldn't load rmnet module automatically. Test commands: ip link add dummy0 type dummy modprobe -rv rmnet ip link add rmnet0 link dummy0 type rmnet mux_id 1 Signed-off-by: Taehee Yoo <ap420073@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qualcomm')
-rw-r--r--drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c b/drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c
index fbf4cbcf1a65..d846a0ccea8f 100644
--- a/drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c
+++ b/drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c
@@ -475,4 +475,5 @@ static void __exit rmnet_exit(void)
module_init(rmnet_init)
module_exit(rmnet_exit)
+MODULE_ALIAS_RTNL_LINK("rmnet");
MODULE_LICENSE("GPL v2");