X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/361f44c9ae18219e7f5f8bf0846106f7bfcb2256..8ea4f149b06fd5292d40d19d7c48b4f1d5592f5c:/target/linux/ar71xx/files/drivers/gpio/nxp_74hc153.c diff --git a/target/linux/ar71xx/files/drivers/gpio/nxp_74hc153.c b/target/linux/ar71xx/files/drivers/gpio/nxp_74hc153.c index b4f1662ae..a5fec5ca7 100644 --- a/target/linux/ar71xx/files/drivers/gpio/nxp_74hc153.c +++ b/target/linux/ar71xx/files/drivers/gpio/nxp_74hc153.c @@ -11,6 +11,7 @@ #include #include #include +#include #include #include @@ -178,15 +179,15 @@ static int __devinit nxp_74hc153_probe(struct platform_device *pdev) platform_set_drvdata(pdev, nxp); return 0; - err_free_2y: +err_free_2y: gpio_free(pdata->gpio_pin_2y); - err_free_1y: +err_free_1y: gpio_free(pdata->gpio_pin_1y); - err_free_s1: +err_free_s1: gpio_free(pdata->gpio_pin_s1); - err_free_s0: +err_free_s0: gpio_free(pdata->gpio_pin_s0); - err_free_nxp: +err_free_nxp: kfree(nxp); return err; }