]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/mtd/nand/atmel/nand-controller.c
Merge tag 'pm-fixes-4.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael...
[karo-tx-linux.git] / drivers / mtd / nand / atmel / nand-controller.c
index 6055831c953ff9e9575c253b4b85f569e064b452..d922a88e407f119bbf52aae494c632e08d113e7f 100644 (file)
@@ -65,7 +65,6 @@
 #include <linux/of_platform.h>
 #include <linux/iopoll.h>
 #include <linux/platform_device.h>
-#include <linux/platform_data/atmel.h>
 #include <linux/regmap.h>
 
 #include "pmecc.h"
@@ -2510,7 +2509,7 @@ static int atmel_nand_controller_remove(struct platform_device *pdev)
        return nc->caps->ops->remove(nc);
 }
 
-static int atmel_nand_controller_resume(struct device *dev)
+static __maybe_unused int atmel_nand_controller_resume(struct device *dev)
 {
        struct atmel_nand_controller *nc = dev_get_drvdata(dev);
        struct atmel_nand *nand;