Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 188030
b: refs/heads/master
c: d07b56b
h: refs/heads/master
v: v3
  • Loading branch information
Wolfram Sang authored and Jean Delvare committed Mar 13, 2010
1 parent 6b3cf42 commit 86457ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e77482d735efa2606c1f2afeebd53e1119d0e5c6
refs/heads/master: d07b56b3098b9f32ae6dedeacbc594bd01dcfcd1
1 change: 1 addition & 0 deletions trunk/drivers/misc/eeprom/at24.c
Original file line number Diff line number Diff line change
Expand Up @@ -505,6 +505,7 @@ static int at24_probe(struct i2c_client *client, const struct i2c_device_id *id)
* Export the EEPROM bytes through sysfs, since that's convenient.
* By default, only root should see the data (maybe passwords etc)
*/
sysfs_bin_attr_init(&at24->bin);
at24->bin.attr.name = "eeprom";
at24->bin.attr.mode = chip.flags & AT24_FLAG_IRUGO ? S_IRUGO : S_IRUSR;
at24->bin.read = at24_bin_read;
Expand Down

0 comments on commit 86457ba

Please sign in to comment.