Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 322081
b: refs/heads/master
c: 5ed12f1
h: refs/heads/master
i:
  322079: b50968b
v: v3
  • Loading branch information
Ilya Shchepetkov authored and Linus Torvalds committed Aug 21, 2012
1 parent b70caee commit 7d486af
Show file tree
Hide file tree
Showing 2 changed files with 3 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: c81758fbe0fdbbc0c74b37798f55bd9c91d5c068
refs/heads/master: 5ed12f12825c6c0451d703bfe918a7fc190e2738
2 changes: 2 additions & 0 deletions trunk/drivers/rtc/rtc-pcf2123.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
#include <linux/rtc.h>
#include <linux/spi/spi.h>
#include <linux/module.h>
#include <linux/sysfs.h>

#define DRV_VERSION "0.6"

Expand Down Expand Up @@ -292,6 +293,7 @@ static int __devinit pcf2123_probe(struct spi_device *spi)
pdata->rtc = rtc;

for (i = 0; i < 16; i++) {
sysfs_attr_init(&pdata->regs[i].attr.attr);
sprintf(pdata->regs[i].name, "%1x", i);
pdata->regs[i].attr.attr.mode = S_IRUGO | S_IWUSR;
pdata->regs[i].attr.attr.name = pdata->regs[i].name;
Expand Down

0 comments on commit 7d486af

Please sign in to comment.