Re: [1/6] w1: Cleans up usage of touch_bit/w1_read_bit/w1_write_bit.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 9 Jun 2005 22:25:38 -0700
Greg KH <greg at kroah.com> wrote:

> After this series is applied, I get the following compiler warning:
> 
> drivers/w1/w1_family.c: In function `w1_register_family':
> drivers/w1/w1_family.c:65: warning: implicit declaration of function `w1_reconnect_slaves'
> 
> Care to send a follow-on patch to fix this up?

Sure, patch included.
Thank you.

> thanks,
> 
> greg k-h


Signed-off-by: Evgeniy Polyakov <johnpol at 2ka.mipt.ru>

--- ./drivers/w1.orig/w1_family.c	2005-06-10 15:00:41.000000000 +0400
+++ ./drivers/w1/w1_family.c	2005-06-10 15:01:17.000000000 +0400
@@ -29,8 +29,7 @@
 DEFINE_SPINLOCK(w1_flock);
 static LIST_HEAD(w1_families);
 
-extern struct list_head w1_masters;
-extern spinlock_t w1_mlock;
+extern void w1_reconnect_slaves(struct w1_family *f);
 
 static int w1_check_family(struct w1_family *f)
 {



	Evgeniy Polyakov

Only failure makes us experts. -- Theo de Raadt




[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux