aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-tegra20-sflash.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/spi/spi-tegra20-sflash.c')
-rw-r--r--drivers/spi/spi-tegra20-sflash.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/spi/spi-tegra20-sflash.c b/drivers/spi/spi-tegra20-sflash.c
index 54eb9488fa5a..448a8cc71df3 100644
--- a/drivers/spi/spi-tegra20-sflash.c
+++ b/drivers/spi/spi-tegra20-sflash.c
@@ -451,13 +451,13 @@ static struct tegra_spi_platform_data *tegra_sflash_parse_dt(
451 return pdata; 451 return pdata;
452} 452}
453 453
454static struct of_device_id tegra_sflash_of_match[] __devinitconst = { 454static struct of_device_id tegra_sflash_of_match[] = {
455 { .compatible = "nvidia,tegra20-sflash", }, 455 { .compatible = "nvidia,tegra20-sflash", },
456 {} 456 {}
457}; 457};
458MODULE_DEVICE_TABLE(of, tegra_sflash_of_match); 458MODULE_DEVICE_TABLE(of, tegra_sflash_of_match);
459 459
460static int __devinit tegra_sflash_probe(struct platform_device *pdev) 460static int tegra_sflash_probe(struct platform_device *pdev)
461{ 461{
462 struct spi_master *master; 462 struct spi_master *master;
463 struct tegra_sflash_data *tsd; 463 struct tegra_sflash_data *tsd;
@@ -575,7 +575,7 @@ exit_free_master:
575 return ret; 575 return ret;
576} 576}
577 577
578static int __devexit tegra_sflash_remove(struct platform_device *pdev) 578static int tegra_sflash_remove(struct platform_device *pdev)
579{ 579{
580 struct spi_master *master = dev_get_drvdata(&pdev->dev); 580 struct spi_master *master = dev_get_drvdata(&pdev->dev);
581 struct tegra_sflash_data *tsd = spi_master_get_devdata(master); 581 struct tegra_sflash_data *tsd = spi_master_get_devdata(master);
@@ -655,7 +655,7 @@ static struct platform_driver tegra_sflash_driver = {
655 .of_match_table = of_match_ptr(tegra_sflash_of_match), 655 .of_match_table = of_match_ptr(tegra_sflash_of_match),
656 }, 656 },
657 .probe = tegra_sflash_probe, 657 .probe = tegra_sflash_probe,
658 .remove = __devexit_p(tegra_sflash_remove), 658 .remove = tegra_sflash_remove,
659}; 659};
660module_platform_driver(tegra_sflash_driver); 660module_platform_driver(tegra_sflash_driver);
661 661