From: Sven Eckelmann Date: Fri, 10 Jun 2016 21:00:55 +0000 (+0200) Subject: batman-adv: Define module rtnl link name X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9791860ce5438da65f4f5c38c282fdc45e30dd97;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Marek Lindner Signed-off-by: Simon Wunderlich --- 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");