diff options
author | Hauke Mehrtens <hauke@openwrt.org> | 2013-01-27 17:48:48 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@openwrt.org> | 2013-01-27 17:48:48 +0000 |
commit | 16d7ea5f384ae0d5c16afdfbc3ddd4a580332a24 (patch) | |
tree | ae7fa0b910db3b6d227aa0cf2a254a59fd40d8d6 /target/linux/generic/patches-3.8/841-rtc_pt7c4338.patch | |
parent | a35962e3b7010e520a862ac6bc806db223ed1d7f (diff) | |
download | master-187ad058-16d7ea5f384ae0d5c16afdfbc3ddd4a580332a24.tar.gz master-187ad058-16d7ea5f384ae0d5c16afdfbc3ddd4a580332a24.tar.bz2 master-187ad058-16d7ea5f384ae0d5c16afdfbc3ddd4a580332a24.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@35328 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/patches-3.8/841-rtc_pt7c4338.patch')
-rw-r--r-- | target/linux/generic/patches-3.8/841-rtc_pt7c4338.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/generic/patches-3.8/841-rtc_pt7c4338.patch b/target/linux/generic/patches-3.8/841-rtc_pt7c4338.patch index 564e506017..7d763146fc 100644 --- a/target/linux/generic/patches-3.8/841-rtc_pt7c4338.patch +++ b/target/linux/generic/patches-3.8/841-rtc_pt7c4338.patch @@ -209,7 +209,7 @@ + return ret; +} + -+static int __devexit pt7c4338_remove(struct i2c_client *client) ++static int pt7c4338_remove(struct i2c_client *client) +{ + struct pt7c4338 *pt7c4338 = i2c_get_clientdata(client); + @@ -225,7 +225,7 @@ + .owner = THIS_MODULE, + }, + .probe = pt7c4338_probe, -+ .remove = __devexit_p(pt7c4338_remove), ++ .remove = pt7c4338_remove, + .id_table = pt7c4338_id, +}; + |