summaryrefslogtreecommitdiffstats
path: root/drivers/memory
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2017-06-01 16:53:38 -0700
committerOlof Johansson <olof@lixom.net>2017-06-01 17:07:31 -0700
commitda3d1d4a4e6c554237466db060d53abbf0620605 (patch)
tree46470fc6ac21ecab88ff7eadc1946056f0dc1c89 /drivers/memory
parentcf5cde2199058f1aed33f8b5f637c02a95936031 (diff)
parentcc7a938f5f308eeb6f8fe3cec28e1800aa81facb (diff)
downloadop-kernel-dev-da3d1d4a4e6c554237466db060d53abbf0620605.zip
op-kernel-dev-da3d1d4a4e6c554237466db060d53abbf0620605.tar.gz
Merge tag 'at91-4.12-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux into fixes
Fixes for 4.12: Fix two compilation issues * tag 'at91-4.12-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux: ARM: at91: select CONFIG_ARM_CPU_SUSPEND memory: atmel-ebi: mark PM ops as __maybe_unused Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'drivers/memory')
-rw-r--r--drivers/memory/atmel-ebi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/memory/atmel-ebi.c b/drivers/memory/atmel-ebi.c
index 35910f9..99e644c 100644
--- a/drivers/memory/atmel-ebi.c
+++ b/drivers/memory/atmel-ebi.c
@@ -581,7 +581,7 @@ static int atmel_ebi_probe(struct platform_device *pdev)
return of_platform_populate(np, NULL, NULL, dev);
}
-static int atmel_ebi_resume(struct device *dev)
+static __maybe_unused int atmel_ebi_resume(struct device *dev)
{
struct atmel_ebi *ebi = dev_get_drvdata(dev);
struct atmel_ebi_dev *ebid;
OpenPOWER on IntegriCloud