Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 143216
b: refs/heads/master
c: 4cafbd0
h: refs/heads/master
v: v3
  • Loading branch information
Geert Uytterhoeven authored and Linus Torvalds committed Apr 13, 2009
1 parent 25ca25f commit 65c1599
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 280ca299dea58180a59ec4b146595211b280f598
refs/heads/master: 4cafbd0b94d2c8cae6ede6d1c3ab90547547a3d2
5 changes: 3 additions & 2 deletions trunk/drivers/misc/eeprom/at25.c
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,8 @@ at25_bin_read(struct kobject *kobj, struct bin_attribute *bin_attr,


static ssize_t
at25_ee_write(struct at25_data *at25, char *buf, loff_t off, size_t count)
at25_ee_write(struct at25_data *at25, const char *buf, loff_t off,
size_t count)
{
ssize_t status = 0;
unsigned written = 0;
Expand Down Expand Up @@ -276,7 +277,7 @@ static ssize_t at25_mem_read(struct memory_accessor *mem, char *buf,
return at25_ee_read(at25, buf, offset, count);
}

static ssize_t at25_mem_write(struct memory_accessor *mem, char *buf,
static ssize_t at25_mem_write(struct memory_accessor *mem, const char *buf,
off_t offset, size_t count)
{
struct at25_data *at25 = container_of(mem, struct at25_data, mem);
Expand Down

0 comments on commit 65c1599

Please sign in to comment.