diff options
Diffstat (limited to 'drivers/mtd/nand/au1550nd.c')
| -rw-r--r-- | drivers/mtd/nand/au1550nd.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/mtd/nand/au1550nd.c b/drivers/mtd/nand/au1550nd.c index 5c47b200045a..217459d02b2f 100644 --- a/drivers/mtd/nand/au1550nd.c +++ b/drivers/mtd/nand/au1550nd.c | |||
| @@ -382,7 +382,7 @@ static void au1550_command(struct mtd_info *mtd, unsigned command, int column, i | |||
| 382 | while(!this->dev_ready(mtd)); | 382 | while(!this->dev_ready(mtd)); |
| 383 | } | 383 | } |
| 384 | 384 | ||
| 385 | static int __devinit find_nand_cs(unsigned long nand_base) | 385 | static int find_nand_cs(unsigned long nand_base) |
| 386 | { | 386 | { |
| 387 | void __iomem *base = | 387 | void __iomem *base = |
| 388 | (void __iomem *)KSEG1ADDR(AU1000_STATIC_MEM_PHYS_ADDR); | 388 | (void __iomem *)KSEG1ADDR(AU1000_STATIC_MEM_PHYS_ADDR); |
| @@ -403,7 +403,7 @@ static int __devinit find_nand_cs(unsigned long nand_base) | |||
| 403 | return -ENODEV; | 403 | return -ENODEV; |
| 404 | } | 404 | } |
| 405 | 405 | ||
| 406 | static int __devinit au1550nd_probe(struct platform_device *pdev) | 406 | static int au1550nd_probe(struct platform_device *pdev) |
| 407 | { | 407 | { |
| 408 | struct au1550nd_platdata *pd; | 408 | struct au1550nd_platdata *pd; |
| 409 | struct au1550nd_ctx *ctx; | 409 | struct au1550nd_ctx *ctx; |
| @@ -491,7 +491,7 @@ out1: | |||
| 491 | return ret; | 491 | return ret; |
| 492 | } | 492 | } |
| 493 | 493 | ||
| 494 | static int __devexit au1550nd_remove(struct platform_device *pdev) | 494 | static int au1550nd_remove(struct platform_device *pdev) |
| 495 | { | 495 | { |
| 496 | struct au1550nd_ctx *ctx = platform_get_drvdata(pdev); | 496 | struct au1550nd_ctx *ctx = platform_get_drvdata(pdev); |
| 497 | struct resource *r = platform_get_resource(pdev, IORESOURCE_MEM, 0); | 497 | struct resource *r = platform_get_resource(pdev, IORESOURCE_MEM, 0); |
| @@ -509,7 +509,7 @@ static struct platform_driver au1550nd_driver = { | |||
| 509 | .owner = THIS_MODULE, | 509 | .owner = THIS_MODULE, |
| 510 | }, | 510 | }, |
| 511 | .probe = au1550nd_probe, | 511 | .probe = au1550nd_probe, |
| 512 | .remove = __devexit_p(au1550nd_remove), | 512 | .remove = au1550nd_remove, |
| 513 | }; | 513 | }; |
| 514 | 514 | ||
| 515 | module_platform_driver(au1550nd_driver); | 515 | module_platform_driver(au1550nd_driver); |
