X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=drivers%2Fwatchdog%2Friowd.c;h=3faee1ae64bd82dda8ebc618250f84e9f3b0c9f8;hb=16bb85bc12e7d0b066b1471185f3889cb1ceb382;hp=4082b4ace1fce159089924d6718918e182fc67f7;hpb=9779714c8af09d57527f18d9aa2207dcc27a8687;p=linux-2.6-microblaze.git diff --git a/drivers/watchdog/riowd.c b/drivers/watchdog/riowd.c index 4082b4ace1fc..3faee1ae64bd 100644 --- a/drivers/watchdog/riowd.c +++ b/drivers/watchdog/riowd.c @@ -172,7 +172,7 @@ static struct miscdevice riowd_miscdev = { .fops = &riowd_fops }; -static int __devinit riowd_probe(struct of_device *op, +static int __devinit riowd_probe(struct platform_device *op, const struct of_device_id *match) { struct riowd *p; @@ -219,7 +219,7 @@ out: return err; } -static int __devexit riowd_remove(struct of_device *op) +static int __devexit riowd_remove(struct platform_device *op) { struct riowd *p = dev_get_drvdata(&op->dev);