From 947ebaae8cec91a8518e858a9b005cf1d7a9f1a5 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 9 Mar 2013 18:51:46 +0000 Subject: cns3xxx: add linux 3.8 support and use it by default git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35908 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/cns3xxx/files/drivers/spi/spi-cns3xxx.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'target/linux/cns3xxx/files/drivers/spi/spi-cns3xxx.c') diff --git a/target/linux/cns3xxx/files/drivers/spi/spi-cns3xxx.c b/target/linux/cns3xxx/files/drivers/spi/spi-cns3xxx.c index c66ef82447..2642639867 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 = { -- cgit v1.2.3