2
0
forked from Ivasoft/openwrt

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.

SVN-Revision: 35328
This commit is contained in:
Hauke Mehrtens
2013-01-27 17:48:48 +00:00
parent ed7ca5d44e
commit 721bf97863
12 changed files with 39 additions and 39 deletions

View File

@@ -205,7 +205,7 @@ gpio_pwm_request(struct pwm_channel *p)
return 0;
}
static int __devinit
static int
gpio_pwm_probe(struct platform_device *pdev)
{
struct gpio_pwm *gp;
@@ -256,7 +256,7 @@ err_alloc:
return ret;
}
static int __devexit
static int
gpio_pwm_remove(struct platform_device *pdev)
{
struct gpio_pwm *gp = platform_get_drvdata(pdev);
@@ -277,7 +277,7 @@ static struct platform_driver gpio_pwm_driver = {
.owner = THIS_MODULE,
},
.probe = gpio_pwm_probe,
.remove = __devexit_p(gpio_pwm_remove),
.remove = gpio_pwm_remove,
};
static int __init gpio_pwm_init(void)