diff options
author | Josh Boyer <jwboyer@linux.vnet.ibm.com> | 2008-01-11 08:02:57 -0500 |
---|---|---|
committer | Josh Boyer <jwboyer@linux.vnet.ibm.com> | 2008-01-11 08:02:57 -0500 |
commit | 98c31c1d6c9c8a7e57cdac96ad574e0e172d3192 (patch) | |
tree | ab870590bfaf03fb8f9a41b7f61f0b329cd33498 /drivers | |
parent | 78994e240fce03832ceebc875c43773a2c615e79 (diff) | |
parent | f67702a37533f59eee3386578450eeeb531da279 (diff) |
Merge branch 'virtex-for-2.6.25' of git://git.secretlab.ca/git/linux-2.6-virtex into for-2.6.25
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/serial/uartlite.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/serial/uartlite.c b/drivers/serial/uartlite.c index 3f593247c41e..80943409edb0 100644 --- a/drivers/serial/uartlite.c +++ b/drivers/serial/uartlite.c | |||
@@ -539,7 +539,7 @@ static int __devinit ulite_assign(struct device *dev, int id, u32 base, int irq) | |||
539 | * | 539 | * |
540 | * @dev: pointer to device structure | 540 | * @dev: pointer to device structure |
541 | */ | 541 | */ |
542 | static int __devinit ulite_release(struct device *dev) | 542 | static int __devexit ulite_release(struct device *dev) |
543 | { | 543 | { |
544 | struct uart_port *port = dev_get_drvdata(dev); | 544 | struct uart_port *port = dev_get_drvdata(dev); |
545 | int rc = 0; | 545 | int rc = 0; |
@@ -572,14 +572,14 @@ static int __devinit ulite_probe(struct platform_device *pdev) | |||
572 | return ulite_assign(&pdev->dev, pdev->id, res->start, res2->start); | 572 | return ulite_assign(&pdev->dev, pdev->id, res->start, res2->start); |
573 | } | 573 | } |
574 | 574 | ||
575 | static int ulite_remove(struct platform_device *pdev) | 575 | static int __devexit ulite_remove(struct platform_device *pdev) |
576 | { | 576 | { |
577 | return ulite_release(&pdev->dev); | 577 | return ulite_release(&pdev->dev); |
578 | } | 578 | } |
579 | 579 | ||
580 | static struct platform_driver ulite_platform_driver = { | 580 | static struct platform_driver ulite_platform_driver = { |
581 | .probe = ulite_probe, | 581 | .probe = ulite_probe, |
582 | .remove = ulite_remove, | 582 | .remove = __devexit_p(ulite_remove), |
583 | .driver = { | 583 | .driver = { |
584 | .owner = THIS_MODULE, | 584 | .owner = THIS_MODULE, |
585 | .name = "uartlite", | 585 | .name = "uartlite", |