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 /drivers | |
parent | c1249c0aae4c93a753c70496ab2e9a51430a6f02 (diff) |
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')
-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 e16c3fa8d2e..05117f1ad86 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; |