diff options
author | Hauke Mehrtens <hauke@openwrt.org> | 2013-01-27 21:17:38 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@openwrt.org> | 2013-01-27 21:17:38 +0000 |
commit | 2da6033a24e06c8f826e1a1ddbd0a58cdaf76939 (patch) | |
tree | 080a4ab2a4493d288de0c83a1ff0ae3670763450 /package/system/spi-ks8995/src/spi_ks8995.c | |
parent | 442ae9a6f8d4f10ab0fd8b055ddd6825b70b8492 (diff) | |
download | master-187ad058-2da6033a24e06c8f826e1a1ddbd0a58cdaf76939.tar.gz master-187ad058-2da6033a24e06c8f826e1a1ddbd0a58cdaf76939.tar.bz2 master-187ad058-2da6033a24e06c8f826e1a1ddbd0a58cdaf76939.zip |
kernel: remove __devinit, __devexit and __devexit_p for kernel 3.8
These attributes where removed with kernel 3.8 and are now causing compile errors.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35335 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/system/spi-ks8995/src/spi_ks8995.c')
-rw-r--r-- | package/system/spi-ks8995/src/spi_ks8995.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/package/system/spi-ks8995/src/spi_ks8995.c b/package/system/spi-ks8995/src/spi_ks8995.c index c0dd86b4cc..dc42b5d318 100644 --- a/package/system/spi-ks8995/src/spi_ks8995.c +++ b/package/system/spi-ks8995/src/spi_ks8995.c @@ -305,7 +305,7 @@ static struct bin_attribute ks8995_registers_attr = { /*-------------------------------------------------------------------------*/ -static int __devinit ks8995_probe(struct spi_device *spi) +static int ks8995_probe(struct spi_device *spi) { struct ks8995_switch *ks; struct ks8995_pdata *pdata; @@ -373,7 +373,7 @@ err_drvdata: return err; } -static int __devexit ks8995_remove(struct spi_device *spi) +static int ks8995_remove(struct spi_device *spi) { struct ks8995_data *ks8995; @@ -395,7 +395,7 @@ static struct spi_driver ks8995_driver = { .owner = THIS_MODULE, }, .probe = ks8995_probe, - .remove = __devexit_p(ks8995_remove), + .remove = ks8995_remove, }; static int __init ks8995_init(void) |