diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-03-09 18:51:46 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-03-09 18:51:46 +0000 |
commit | fc74ddd9808689a2ecfc39ec6b04d2fb8cf4aa8e (patch) | |
tree | a6d96d08faa76cb2ef37f2f678ddb2ecd561e4b0 /target/linux/cns3xxx/files/drivers/spi | |
parent | d5d0bd890fba306006563ddb264d51f6466e583e (diff) |
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
Diffstat (limited to 'target/linux/cns3xxx/files/drivers/spi')
-rw-r--r-- | target/linux/cns3xxx/files/drivers/spi/spi-cns3xxx.c | 6 |
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 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 = { |