X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/e9152bd9e416c0b81fc2b4f8f44a9f65b898da86..1efd56db6ceeeae30398d5d85a152affdca1bc15:/target/linux/ar71xx/files/drivers/mtd/nand/rb750_nand.c diff --git a/target/linux/ar71xx/files/drivers/mtd/nand/rb750_nand.c b/target/linux/ar71xx/files/drivers/mtd/nand/rb750_nand.c index a80e5dfaa..07bf8e129 100644 --- a/target/linux/ar71xx/files/drivers/mtd/nand/rb750_nand.c +++ b/target/linux/ar71xx/files/drivers/mtd/nand/rb750_nand.c @@ -14,6 +14,7 @@ #include #include #include +#include #include #include @@ -312,11 +313,11 @@ static int __init rb750_nand_probe(struct platform_device *pdev) return 0; - err_release_nand: +err_release_nand: nand_release(&info->mtd); - err_set_drvdata: +err_set_drvdata: platform_set_drvdata(pdev, NULL); - err_free_info: +err_free_info: kfree(info); return ret; }