aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/connector
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2010-12-10 12:27:49 -0800
committerDavid S. Miller <davem@davemloft.net>2010-12-10 12:27:49 -0800
commit3700c3c2934467d53d443682f020cc5c1f75f1f2 (patch)
treedf312ab5702117f186cb2c1e1cbb62a24cf11c33 /drivers/connector
parentc1249c0aae4c93a753c70496ab2e9a51430a6f02 (diff)
downloadkernel_samsung_smdk4412-3700c3c2934467d53d443682f020cc5c1f75f1f2.zip
kernel_samsung_smdk4412-3700c3c2934467d53d443682f020cc5c1f75f1f2.tar.gz
kernel_samsung_smdk4412-3700c3c2934467d53d443682f020cc5c1f75f1f2.tar.bz2
connector: add module alias
Since connector can be built as a module and uses netlink socket to communicate. The module should have an alias to autoload when socket of NETLINK_CONNECTOR type is requested. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Acked-by: Evgeniy Polyakov <zbr@ioremap.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/connector')
-rw-r--r--drivers/connector/connector.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/connector/connector.c b/drivers/connector/connector.c
index e16c3fa..05117f1 100644
--- a/drivers/connector/connector.c
+++ b/drivers/connector/connector.c
@@ -36,6 +36,7 @@
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Evgeniy Polyakov <zbr@ioremap.net>");
MODULE_DESCRIPTION("Generic userspace <-> kernelspace connector.");
+MODULE_ALIAS_NET_PF_PROTO(PF_NETLINK, NETLINK_CONNECTOR);
static struct cn_dev cdev;