diff options
Diffstat (limited to 'drivers/w1/ds_w1_bridge.c')
-rw-r--r-- | drivers/w1/ds_w1_bridge.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/w1/ds_w1_bridge.c b/drivers/w1/ds_w1_bridge.c index 0baaeb5fd630..7bddd8ac7d7f 100644 --- a/drivers/w1/ds_w1_bridge.c +++ b/drivers/w1/ds_w1_bridge.c | |||
@@ -83,11 +83,11 @@ static u8 ds9490r_read_byte(unsigned long data) | |||
83 | return byte; | 83 | return byte; |
84 | } | 84 | } |
85 | 85 | ||
86 | static void ds9490r_write_block(unsigned long data, u8 *buf, int len) | 86 | static void ds9490r_write_block(unsigned long data, const u8 *buf, int len) |
87 | { | 87 | { |
88 | struct ds_device *dev = (struct ds_device *)data; | 88 | struct ds_device *dev = (struct ds_device *)data; |
89 | 89 | ||
90 | ds_write_block(dev, buf, len); | 90 | ds_write_block(dev, (u8 *)buf, len); |
91 | } | 91 | } |
92 | 92 | ||
93 | static u8 ds9490r_read_block(unsigned long data, u8 *buf, int len) | 93 | static u8 ds9490r_read_block(unsigned long data, u8 *buf, int len) |