Skip to content

Commit da3d1d4

Browse files
committed
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>
2 parents cf5cde2 + cc7a938 commit da3d1d4

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

‎arch/arm/mach-at91/Kconfig‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
menuconfig ARCH_AT91
22
bool "Atmel SoCs"
33
depends on ARCH_MULTI_V4T || ARCH_MULTI_V5 || ARCH_MULTI_V7
4+
select ARM_CPU_SUSPEND if PM
45
select COMMON_CLK_AT91
56
select GPIOLIB
67
select PINCTRL

‎drivers/memory/atmel-ebi.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,7 @@ static int atmel_ebi_probe(struct platform_device *pdev)
581581
return of_platform_populate(np, NULL, NULL, dev);
582582
}
583583

584-
static int atmel_ebi_resume(struct device *dev)
584+
static __maybe_unused int atmel_ebi_resume(struct device *dev)
585585
{
586586
struct atmel_ebi *ebi = dev_get_drvdata(dev);
587587
struct atmel_ebi_dev *ebid;

0 commit comments

Comments
 (0)