diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2017-10-07 17:54:12 +0200 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2017-10-11 22:36:04 +0200 |
commit | 27f23bac8f6e6ec63df669ec93d9409b67390c1c (patch) | |
tree | 09ce672020804957595e448ef19193464755a9eb /target/linux/ar71xx/files/drivers | |
parent | 7bbf4117c6fe4b764d9d7c62fb2bcf6dd93bff2c (diff) | |
download | upstream-27f23bac8f6e6ec63df669ec93d9409b67390c1c.tar.gz upstream-27f23bac8f6e6ec63df669ec93d9409b67390c1c.tar.bz2 upstream-27f23bac8f6e6ec63df669ec93d9409b67390c1c.zip |
ar71xx: fix section mismatches
Fix some section mismatches found with kernel 4.9.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'target/linux/ar71xx/files/drivers')
-rw-r--r-- | target/linux/ar71xx/files/drivers/leds/leds-nu801.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/ar71xx/files/drivers/leds/leds-nu801.c b/target/linux/ar71xx/files/drivers/leds/leds-nu801.c index f04df61c04..11e8927785 100644 --- a/target/linux/ar71xx/files/drivers/leds/leds-nu801.c +++ b/target/linux/ar71xx/files/drivers/leds/leds-nu801.c @@ -98,7 +98,7 @@ static void led_nu801_set(struct led_classdev *led_cdev, } } -static int __init led_nu801_create(struct led_nu801_data *controller, +static int led_nu801_create(struct led_nu801_data *controller, struct device *parent, int index, enum led_brightness brightness, @@ -131,7 +131,7 @@ err: return ret; } -static int __init +static int led_nu801_create_chain(const struct led_nu801_template *template, struct led_nu801_data *controller, struct device *parent) @@ -237,7 +237,7 @@ static void led_nu801_delete_chain(struct led_nu801_data *controller) kfree(led_chain); } -static struct led_nu801_data * __init +static struct led_nu801_data * leds_nu801_create_of(struct platform_device *pdev) { struct device_node *np = pdev->dev.of_node, *child; @@ -307,7 +307,7 @@ err: return NULL; } -static int __init led_nu801_probe(struct platform_device *pdev) +static int led_nu801_probe(struct platform_device *pdev) { struct led_nu801_platform_data *pdata = pdev->dev.platform_data; struct led_nu801_data *controllers; |