diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2010-12-10 12:27:49 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-12-10 12:27:49 -0800 |
commit | 3700c3c2934467d53d443682f020cc5c1f75f1f2 (patch) | |
tree | df312ab5702117f186cb2c1e1cbb62a24cf11c33 | |
parent | c1249c0aae4c93a753c70496ab2e9a51430a6f02 (diff) | |
download | kernel_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>
-rw-r--r-- | drivers/connector/connector.c | 1 |
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; |