diff options
author | Evgeniy Polyakov <johnpol@2ka.mipt.ru> | 2006-04-03 10:01:12 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-06-22 20:22:50 +0200 |
commit | 46e07f6e5eb0e465e086b8f485f4238bd453e3e9 (patch) | |
tree | 3ec2810e889f2938ba6811e8c717c1cde2e69eea /drivers/w1/w1_netlink.c | |
parent | [PATCH] w1: netlink: Mark netlink group 1 as unused. (diff) | |
download | linux-46e07f6e5eb0e465e086b8f485f4238bd453e3e9.tar.xz linux-46e07f6e5eb0e465e086b8f485f4238bd453e3e9.zip |
[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.c | 4 |
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 @@ #include "w1_log.h" #include "w1_netlink.h" -#ifndef NETLINK_DISABLED +#if defined(CONFIG_W1_CON) && (defined(CONFIG_CONNECTOR) || (defined(CONFIG_CONNECTOR_MODULE) && defined(CONFIG_W1_MODULE))) void w1_netlink_send(struct w1_master *dev, struct w1_netlink_msg *msg) { char buf[sizeof(struct cn_msg) + sizeof(struct w1_netlink_msg)]; @@ -230,8 +230,6 @@ void w1_fini_netlink(void) cn_del_callback(&w1_id); } #else -#warning Netlink support is disabled. Please compile with NET support enabled. - void w1_netlink_send(struct w1_master *dev, struct w1_netlink_msg *msg) { } |