Author: jogo Date: 2015-03-25 16:35:15 +0100 (Wed, 25 Mar 2015) New Revision: 44986
Modified: trunk/target/linux/brcm63xx/patches-3.14/374-gpio-add-a-simple-GPIO-driver-for-bcm63xx.patch Log: brcm63xx: fix compilation on 3.14 Fixes the following issue: drivers/gpio/gpio-bcm63xx.c: In function 'bcm63xx_gpio_probe': drivers/gpio/gpio-bcm63xx.c:80:4: error: implicit declaration of function 'devm_kasprintf' [-Werror=implicit-function-declaration] Signed-off-by: Jonas Gorski <[email protected]> Modified: trunk/target/linux/brcm63xx/patches-3.14/374-gpio-add-a-simple-GPIO-driver-for-bcm63xx.patch =================================================================== --- trunk/target/linux/brcm63xx/patches-3.14/374-gpio-add-a-simple-GPIO-driver-for-bcm63xx.patch 2015-03-25 15:35:12 UTC (rev 44985) +++ trunk/target/linux/brcm63xx/patches-3.14/374-gpio-add-a-simple-GPIO-driver-for-bcm63xx.patch 2015-03-25 15:35:15 UTC (rev 44986) @@ -121,7 +121,7 @@ + u32 ngpios; + + if (id >= 0) -+ bgc->gc.label = devm_kasprintf(dev, GFP_KERNEL, ++ bgc->gc.label = kasprintf(GFP_KERNEL, + "bcm63xx-gpio.%d", id); + + if (!of_property_read_u32(dev->of_node, "ngpios", &ngpios)) _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
