aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/w1/w1_netlink.c
diff options
context:
space:
mode:
authorEvgeniy Polyakov <johnpol@2ka.mipt.ru>2006-04-03 04:01:12 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2006-06-22 14:22:50 -0400
commit46e07f6e5eb0e465e086b8f485f4238bd453e3e9 (patch)
tree3ec2810e889f2938ba6811e8c717c1cde2e69eea /drivers/w1/w1_netlink.c
parentbb5427b5466782ba0bbf56a4ed752e08b65a5d08 (diff)
[PATCH] w1: Make w1 connector notifications depend on connector.
Make w1 connector notifications depend on connector. Signed-off-by: Evgeniy Polyakov <johnpol@2ka.mipt.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/w1/w1_netlink.c')
-rw-r--r--drivers/w1/w1_netlink.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/w1/w1_netlink.c b/drivers/w1/w1_netlink.c
index d48f3acdb8a2..d539e09aad37 100644
--- a/drivers/w1/w1_netlink.c
+++ b/drivers/w1/w1_netlink.c
@@ -27,7 +27,7 @@
27#include "w1_log.h" 27#include "w1_log.h"
28#include "w1_netlink.h" 28#include "w1_netlink.h"
29 29
30#ifndef NETLINK_DISABLED 30#if defined(CONFIG_W1_CON) && (defined(CONFIG_CONNECTOR) || (defined(CONFIG_CONNECTOR_MODULE) && defined(CONFIG_W1_MODULE)))
31void w1_netlink_send(struct w1_master *dev, struct w1_netlink_msg *msg) 31void w1_netlink_send(struct w1_master *dev, struct w1_netlink_msg *msg)
32{ 32{
33 char buf[sizeof(struct cn_msg) + sizeof(struct w1_netlink_msg)]; 33 char buf[sizeof(struct cn_msg) + sizeof(struct w1_netlink_msg)];
@@ -230,8 +230,6 @@ void w1_fini_netlink(void)
230 cn_del_callback(&w1_id); 230 cn_del_callback(&w1_id);
231} 231}
232#else 232#else
233#warning Netlink support is disabled. Please compile with NET support enabled.
234
235void w1_netlink_send(struct w1_master *dev, struct w1_netlink_msg *msg) 233void w1_netlink_send(struct w1_master *dev, struct w1_netlink_msg *msg)
236{ 234{
237} 235}