diff options
-rw-r--r-- | drivers/w1/w1_int.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/w1/w1_int.c b/drivers/w1/w1_int.c index 8809788dac26..f3f339d057f9 100644 --- a/drivers/w1/w1_int.c +++ b/drivers/w1/w1_int.c | |||
@@ -86,7 +86,7 @@ static struct w1_master * w1_alloc_dev(u32 id, int slave_count, int slave_ttl, | |||
86 | 86 | ||
87 | dev->driver = driver; | 87 | dev->driver = driver; |
88 | 88 | ||
89 | dev->groups = 23; | 89 | dev->groups = 1; |
90 | dev->seq = 1; | 90 | dev->seq = 1; |
91 | dev->nls = netlink_kernel_create(NETLINK_W1, NULL, THIS_MODULE); | 91 | dev->nls = netlink_kernel_create(NETLINK_W1, NULL, THIS_MODULE); |
92 | if (!dev->nls) { | 92 | if (!dev->nls) { |