diff options
author | Carlo Comin <vl4d@spine-group.org> | 2005-11-08 12:38:56 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-11-08 12:38:56 -0500 |
commit | 18a0c23617a2cb1c2e55e650046c2084d823fde0 (patch) | |
tree | 24e73433d0e8149c1ae8b658188f0cec0472c60c | |
parent | 072047e4de3800905e09d0f8ef0e1cc4e91a601e (diff) |
[CONNECTOR]: Fix documentation test module.
Patch from Carlo Comin <vl4d spine-group.org>
Signed-off-by: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | Documentation/connector/cn_test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/connector/cn_test.c b/Documentation/connector/cn_test.c index b7de82e9c0e0..3e73231695b3 100644 --- a/Documentation/connector/cn_test.c +++ b/Documentation/connector/cn_test.c | |||
@@ -25,7 +25,7 @@ | |||
25 | #include <linux/skbuff.h> | 25 | #include <linux/skbuff.h> |
26 | #include <linux/timer.h> | 26 | #include <linux/timer.h> |
27 | 27 | ||
28 | #include "connector.h" | 28 | #include <linux/connector.h> |
29 | 29 | ||
30 | static struct cb_id cn_test_id = { 0x123, 0x456 }; | 30 | static struct cb_id cn_test_id = { 0x123, 0x456 }; |
31 | static char cn_test_name[] = "cn_test"; | 31 | static char cn_test_name[] = "cn_test"; |
@@ -104,7 +104,7 @@ static int cn_test_want_notify(void) | |||
104 | req->first = cn_test_id.val + 20; | 104 | req->first = cn_test_id.val + 20; |
105 | req->range = 10; | 105 | req->range = 10; |
106 | 106 | ||
107 | NETLINK_CB(skb).dst_groups = ctl->group; | 107 | NETLINK_CB(skb).dst_group = ctl->group; |
108 | //netlink_broadcast(nls, skb, 0, ctl->group, GFP_ATOMIC); | 108 | //netlink_broadcast(nls, skb, 0, ctl->group, GFP_ATOMIC); |
109 | netlink_unicast(nls, skb, 0, 0); | 109 | netlink_unicast(nls, skb, 0, 0); |
110 | 110 | ||