diff options
author | Sven Eckelmann <sven@narfation.org> | 2016-06-10 23:00:55 +0200 |
---|---|---|
committer | Simon Wunderlich <sw@simonwunderlich.de> | 2016-08-09 07:54:26 +0200 |
commit | 9791860ce5438da65f4f5c38c282fdc45e30dd97 (patch) | |
tree | 238b55140f6426300c4d0a799fc23f05f3517533 /net/batman-adv/main.c | |
parent | e61cdfa3343b439590d6b9319fc973b7a1cb97ae (diff) | |
download | linux-9791860ce5438da65f4f5c38c282fdc45e30dd97.tar.bz2 |
batman-adv: Define module rtnl link name
The batman-adv module can automatically be loaded when operations over the
rtnl link are triggered. This requires only the correct rtnl link name in
the module header.
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Diffstat (limited to 'net/batman-adv/main.c')
-rw-r--r-- | net/batman-adv/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/batman-adv/main.c b/net/batman-adv/main.c index fe4c5e29f96b..f61479b5a99d 100644 --- a/net/batman-adv/main.c +++ b/net/batman-adv/main.c @@ -638,3 +638,4 @@ MODULE_AUTHOR(BATADV_DRIVER_AUTHOR); MODULE_DESCRIPTION(BATADV_DRIVER_DESC); MODULE_SUPPORTED_DEVICE(BATADV_DRIVER_DEVICE); MODULE_VERSION(BATADV_SOURCE_VERSION); +MODULE_ALIAS_RTNL_LINK("batadv"); |