aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/devices
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/devices')
-rw-r--r--drivers/mtd/devices/sst25l.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/mtd/devices/sst25l.c b/drivers/mtd/devices/sst25l.c
index c163e619abc9..ac1d2442e101 100644
--- a/drivers/mtd/devices/sst25l.c
+++ b/drivers/mtd/devices/sst25l.c
@@ -66,7 +66,7 @@ struct flash_info {
66 66
67#define to_sst25l_flash(x) container_of(x, struct sst25l_flash, mtd) 67#define to_sst25l_flash(x) container_of(x, struct sst25l_flash, mtd)
68 68
69static struct flash_info __initdata sst25l_flash_info[] = { 69static struct flash_info __devinitdata sst25l_flash_info[] = {
70 {"sst25lf020a", 0xbf43, 256, 1024, 4096}, 70 {"sst25lf020a", 0xbf43, 256, 1024, 4096},
71 {"sst25lf040a", 0xbf44, 256, 2048, 4096}, 71 {"sst25lf040a", 0xbf44, 256, 2048, 4096},
72}; 72};
@@ -469,7 +469,7 @@ static int __devinit sst25l_probe(struct spi_device *spi)
469 return 0; 469 return 0;
470} 470}
471 471
472static int __exit sst25l_remove(struct spi_device *spi) 472static int __devexit sst25l_remove(struct spi_device *spi)
473{ 473{
474 struct sst25l_flash *flash = dev_get_drvdata(&spi->dev); 474 struct sst25l_flash *flash = dev_get_drvdata(&spi->dev);
475 int ret; 475 int ret;
@@ -490,7 +490,7 @@ static struct spi_driver sst25l_driver = {
490 .owner = THIS_MODULE, 490 .owner = THIS_MODULE,
491 }, 491 },
492 .probe = sst25l_probe, 492 .probe = sst25l_probe,
493 .remove = __exit_p(sst25l_remove), 493 .remove = __devexit_p(sst25l_remove),
494}; 494};
495 495
496static int __init sst25l_init(void) 496static int __init sst25l_init(void)