Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 73001
b: refs/heads/master
c: 08113e3
h: refs/heads/master
i:
  72999: 639b2d7
v: v3
  • Loading branch information
Wim Van Sebroeck committed Nov 2, 2007
1 parent db138f8 commit f50662c
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: c87b639a2a34ea2912000ee1b1bd313d46fda276
refs/heads/master: 08113e39dfd3d91053e8f1855fc0dc15305fb4c0
10 changes: 5 additions & 5 deletions trunk/drivers/watchdog/iTCO_wdt.c
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@ static struct miscdevice iTCO_wdt_miscdev = {
* Init & exit routines
*/

static int iTCO_wdt_init(struct pci_dev *pdev, const struct pci_device_id *ent, struct platform_device *dev)
static int __devinit iTCO_wdt_init(struct pci_dev *pdev, const struct pci_device_id *ent, struct platform_device *dev)
{
int ret;
u32 base_address;
Expand Down Expand Up @@ -704,7 +704,7 @@ static int iTCO_wdt_init(struct pci_dev *pdev, const struct pci_device_id *ent,
return ret;
}

static void iTCO_wdt_cleanup(void)
static void __devexit iTCO_wdt_cleanup(void)
{
/* Stop the timer before we leave */
if (!nowayout)
Expand All @@ -719,7 +719,7 @@ static void iTCO_wdt_cleanup(void)
iTCO_wdt_private.ACPIBASE = 0;
}

static int iTCO_wdt_probe(struct platform_device *dev)
static int __devinit iTCO_wdt_probe(struct platform_device *dev)
{
int found = 0;
struct pci_dev *pdev = NULL;
Expand All @@ -745,7 +745,7 @@ static int iTCO_wdt_probe(struct platform_device *dev)
return 0;
}

static int iTCO_wdt_remove(struct platform_device *dev)
static int __devexit iTCO_wdt_remove(struct platform_device *dev)
{
if (iTCO_wdt_private.ACPIBASE)
iTCO_wdt_cleanup();
Expand All @@ -763,7 +763,7 @@ static void iTCO_wdt_shutdown(struct platform_device *dev)

static struct platform_driver iTCO_wdt_driver = {
.probe = iTCO_wdt_probe,
.remove = iTCO_wdt_remove,
.remove = __devexit_p(iTCO_wdt_remove),
.shutdown = iTCO_wdt_shutdown,
.suspend = iTCO_wdt_suspend,
.resume = iTCO_wdt_resume,
Expand Down

0 comments on commit f50662c

Please sign in to comment.