-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 341999 b: refs/heads/master c: bc245cc h: refs/heads/master i: 341997: 86114b4 341995: 2de9ccc 341991: 7d4b8b8 341983: bb058b9 v: v3
- Loading branch information
Hauke Mehrtens
authored and
John W. Linville
committed
Dec 6, 2012
1 parent
9e94fbd
commit e0b8e32
Showing
2 changed files
with
20 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: 8df0f1e5cbd4ff1e2059a1e11bd89b35aa5ed004 | ||
refs/heads/master: bc245cc36c5687dd3fbf6d4a1b3c13d41f9cb189 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#ifndef LINUX_BCM47XX_WDT_H_ | ||
#define LINUX_BCM47XX_WDT_H_ | ||
|
||
#include <linux/types.h> | ||
|
||
|
||
struct bcm47xx_wdt { | ||
u32 (*timer_set)(struct bcm47xx_wdt *, u32); | ||
u32 (*timer_set_ms)(struct bcm47xx_wdt *, u32); | ||
u32 max_timer_ms; | ||
|
||
void *driver_data; | ||
}; | ||
|
||
static inline void *bcm47xx_wdt_get_drvdata(struct bcm47xx_wdt *wdt) | ||
{ | ||
return wdt->driver_data; | ||
} | ||
#endif /* LINUX_BCM47XX_WDT_H_ */ |