Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 113056
b: refs/heads/master
c: e25ecd0
h: refs/heads/master
v: v3
  • Loading branch information
David S. Miller committed Aug 29, 2008
1 parent 95dad33 commit c0d460b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 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: 957183f32e136450eb9a4b8eed52dfac46834eed
refs/heads/master: e25ecd08c43e5111148dc4d847ac7e139ef76888
10 changes: 5 additions & 5 deletions trunk/drivers/watchdog/riowd.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ MODULE_DESCRIPTION("Hardware watchdog driver for Sun RIO");
MODULE_SUPPORTED_DEVICE("watchdog");
MODULE_LICENSE("GPL");

#define RIOWD_NAME "pmc"
#define PFX RIOWD_NAME ": "
#define DRIVER_NAME "riowd"
#define PFX DRIVER_NAME ": "

struct riowd {
void __iomem *regs;
Expand Down Expand Up @@ -92,7 +92,7 @@ static int riowd_ioctl(struct inode *inode, struct file *filp,
static struct watchdog_info info = {
.options = WDIOF_SETTIMEOUT,
.firmware_version = 1,
.identity = "riowd",
.identity = DRIVER_NAME,
};
void __user *argp = (void __user *)arg;
struct riowd *p = riowd_device;
Expand Down Expand Up @@ -190,7 +190,7 @@ static int __devinit riowd_probe(struct of_device *op,

spin_lock_init(&p->lock);

p->regs = of_ioremap(&op->resource[0], 0, 2, "riowd");
p->regs = of_ioremap(&op->resource[0], 0, 2, DRIVER_NAME);
if (!p->regs) {
printk(KERN_ERR PFX "Cannot map registers.\n");
goto out_free;
Expand Down Expand Up @@ -239,7 +239,7 @@ static struct of_device_id riowd_match[] = {
MODULE_DEVICE_TABLE(of, riowd_match);

static struct of_platform_driver riowd_driver = {
.name = "riowd",
.name = DRIVER_NAME,
.match_table = riowd_match,
.probe = riowd_probe,
.remove = __devexit_p(riowd_remove),
Expand Down

0 comments on commit c0d460b

Please sign in to comment.