diff options
author | Evgeniy Polyakov <johnpol@2ka.mipt.ru> | 2005-12-06 05:38:27 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-03-23 20:28:11 -0500 |
commit | ccd6994000fb6d08ee1be8a7fa20c8d602a2267d (patch) | |
tree | 88badd14da5f2c0593a88a351db6a664c3b6fbb8 /drivers/w1/w1.c | |
parent | a1a051b1870f9e4607526c7e403abab06526c6d9 (diff) |
[PATCH] W1: Change the type 'unsigned long' member of 'struct w1_bus_master' to 'void *'.
Signed-off-by: Ben Gardner <bgardner@wabtec.com>
Signed-off-by: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/w1/w1.c')
-rw-r--r-- | drivers/w1/w1.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/w1/w1.c b/drivers/w1/w1.c index 024206c4a0e..f0b47fe4ed2 100644 --- a/drivers/w1/w1.c +++ b/drivers/w1/w1.c | |||
@@ -552,7 +552,7 @@ static void w1_slave_detach(struct w1_slave *sl) | |||
552 | kfree(sl); | 552 | kfree(sl); |
553 | } | 553 | } |
554 | 554 | ||
555 | static struct w1_master *w1_search_master(unsigned long data) | 555 | static struct w1_master *w1_search_master(void *data) |
556 | { | 556 | { |
557 | struct w1_master *dev; | 557 | struct w1_master *dev; |
558 | int found = 0; | 558 | int found = 0; |
@@ -583,7 +583,7 @@ void w1_reconnect_slaves(struct w1_family *f) | |||
583 | spin_unlock_bh(&w1_mlock); | 583 | spin_unlock_bh(&w1_mlock); |
584 | } | 584 | } |
585 | 585 | ||
586 | static void w1_slave_found(unsigned long data, u64 rn) | 586 | static void w1_slave_found(void *data, u64 rn) |
587 | { | 587 | { |
588 | int slave_count; | 588 | int slave_count; |
589 | struct w1_slave *sl; | 589 | struct w1_slave *sl; |
@@ -595,8 +595,8 @@ static void w1_slave_found(unsigned long data, u64 rn) | |||
595 | 595 | ||
596 | dev = w1_search_master(data); | 596 | dev = w1_search_master(data); |
597 | if (!dev) { | 597 | if (!dev) { |
598 | printk(KERN_ERR "Failed to find w1 master device for data %08lx, it is impossible.\n", | 598 | printk(KERN_ERR "Failed to find w1 master device for data %p, " |
599 | data); | 599 | "it is impossible.\n", data); |
600 | return; | 600 | return; |
601 | } | 601 | } |
602 | 602 | ||