From: Patrick McHardy Date: Sat, 7 Jan 2006 23:44:15 +0000 (+0100) Subject: [PATCH] W1: Remove incorrect MODULE_ALIAS X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ecd5136c85cb4531a51f65241e7b3cd58420f3ed;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [PATCH] W1: Remove incorrect MODULE_ALIAS The w1 netlink socket is created by a hardware specific driver calling w1_add_master_device, so there is no point in including a module alias for netlink autoloading in the core. Signed-off-by: Patrick McHardy Acked-by: Evgeniy Polyakov Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/w1/w1_int.c b/drivers/w1/w1_int.c index 4724693ad51d..a2f9065e1928 100644 --- a/drivers/w1/w1_int.c +++ b/drivers/w1/w1_int.c @@ -208,5 +208,3 @@ void w1_remove_master_device(struct w1_bus_master *bm) EXPORT_SYMBOL(w1_add_master_device); EXPORT_SYMBOL(w1_remove_master_device); - -MODULE_ALIAS_NET_PF_PROTO(PF_NETLINK, NETLINK_W1);