X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=Documentation%2Fconnector%2Fcn_test.c;h=3e73231695b3107eb743452836e8d0b24d17af85;hb=03270634e242dd10cc8569d31a00659d25b2b8e7;hp=b7de82e9c0e014aeff8fecfb3e7b271821b4598c;hpb=dbaa9a9d2b37d838125fb7f2b9fdc5dc5fa4eaa9;p=karo-tx-linux.git 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 @@ #include #include -#include "connector.h" +#include static struct cb_id cn_test_id = { 0x123, 0x456 }; static char cn_test_name[] = "cn_test"; @@ -104,7 +104,7 @@ static int cn_test_want_notify(void) req->first = cn_test_id.val + 20; req->range = 10; - NETLINK_CB(skb).dst_groups = ctl->group; + NETLINK_CB(skb).dst_group = ctl->group; //netlink_broadcast(nls, skb, 0, ctl->group, GFP_ATOMIC); netlink_unicast(nls, skb, 0, 0);