diff options
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 024206c4a0e4..f0b47fe4ed25 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 | ||