Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 168952
b: refs/heads/master
c: e6e3625
h: refs/heads/master
v: v3
  • Loading branch information
Giuseppe CAVALLARO authored and David S. Miller committed Nov 23, 2009
1 parent cec74d7 commit 55dfa0c
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 73570314e4fa1605189a32c493fd15eebdc44863
refs/heads/master: e6e3625f3b95145bfcf421285f8f7f452a5adf7e
4 changes: 2 additions & 2 deletions trunk/drivers/net/stmmac/stmmac_timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,15 +63,15 @@ int stmmac_open_ext_timer(struct net_device *dev, struct stmmac_timer *tm)

stmmac_rtc = rtc_class_open(CONFIG_RTC_HCTOSYS_DEVICE);
if (stmmac_rtc == NULL) {
pr_error("open rtc device failed\n");
pr_err("open rtc device failed\n");
return -ENODEV;
}

rtc_irq_register(stmmac_rtc, &stmmac_task);

/* Periodic mode is not supported */
if ((rtc_irq_set_freq(stmmac_rtc, &stmmac_task, tm->freq) < 0)) {
pr_error("set periodic failed\n");
pr_err("set periodic failed\n");
rtc_irq_unregister(stmmac_rtc, &stmmac_task);
rtc_class_close(stmmac_rtc);
return -1;
Expand Down

0 comments on commit 55dfa0c

Please sign in to comment.