From: Patrick McHardy Date: Sat, 7 Jan 2006 23:44:15 +0000 (+0100) Subject: [PATCH] W1: Remove incorrect MODULE_ALIAS X-Git-Tag: v2.6.17-rc1~987 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ecd5136c85cb4531a51f65241e7b3cd58420f3ed;p=linux-2.6 [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 4724693ad5..a2f9065e19 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);