summaryrefslogtreecommitdiff
path: root/target/linux/cns3xxx/files/drivers/spi/spi-cns3xxx.c
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/cns3xxx/files/drivers/spi/spi-cns3xxx.c')
-rw-r--r--target/linux/cns3xxx/files/drivers/spi/spi-cns3xxx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/cns3xxx/files/drivers/spi/spi-cns3xxx.c b/target/linux/cns3xxx/files/drivers/spi/spi-cns3xxx.c
index c66ef82..2642639 100644
--- a/target/linux/cns3xxx/files/drivers/spi/spi-cns3xxx.c
+++ b/target/linux/cns3xxx/files/drivers/spi/spi-cns3xxx.c
@@ -324,7 +324,7 @@ static void __init cns3xxx_spi_initial(void)
return;
}
-static int __devinit cns3xxx_spi_probe(struct platform_device *pdev)
+static int cns3xxx_spi_probe(struct platform_device *pdev)
{
struct spi_master *master;
struct cns3xxx_spi *hw;
@@ -384,7 +384,7 @@ err_nomem:
return err;
}
-static int __devexit cns3xxx_spi_remove(struct platform_device *dev)
+static int cns3xxx_spi_remove(struct platform_device *dev)
{
struct cns3xxx_spi *hw = platform_get_drvdata(dev);
@@ -419,7 +419,7 @@ static int cns3xxx_spi_resume(struct platform_device *pdev)
static struct platform_driver cns3xxx_spi_driver = {
.probe = cns3xxx_spi_probe,
- .remove = __devexit_p(cns3xxx_spi_remove),
+ .remove = cns3xxx_spi_remove,
.suspend = cns3xxx_spi_suspend,
.resume = cns3xxx_spi_resume,
.driver = {