mirror of
https://github.com/torvalds/linux.git
synced 2024-11-01 01:31:44 +00:00
89693016e3
This patch enables the selection of samsung pm related stuffs when SAMSUNG_PM config is enabled and not just when generic PM config is enabled. Power management for s3c64XX and s3c24XX is enabled by default and for other platform depends on S5P_PM. This patch also fixes the following compilation error's when compiling a platform like exynos5440 which does not select pm stuffs. arch/arm/mach-exynos/built-in.o: In function '__virt_to_phys': linux/arch/arm/include/asm/memory.h:175: undefined reference to 's3c_cpu_resume' linux/arch/arm/include/asm/memory.h:175: undefined reference to 's3c_cpu_resume' linux/arch/arm/include/asm/memory.h:175: undefined reference to 's3c_cpu_resume' linux/arch/arm/include/asm/memory.h:175: undefined reference to 's3c_cpu_resume' arch/arm/mach-exynos/built-in.o: In function 'exynos5_init_irq': linux/arch/arm/mach-exynos/common.c:492: undefined reference to 's3c_irq_wake' linux/arch/arm/mach-exynos/common.c:492: undefined reference to 's3c_irq_wake' arch/arm/mach-exynos/built-in.o: In function 'exynos4_init_irq': linux/arch/arm/mach-exynos/common.c:476: undefined reference to 's3c_irq_wake' linux/arch/arm/mach-exynos/common.c:476: undefined reference to 's3c_irq_wake' arch/arm/plat-samsung/built-in.o: In function 's3c_irqext_wake': linux/arch/arm/plat-samsung/pm.c:144: undefined reference to 's3c_irqwake_eintallow' linux/arch/arm/plat-samsung/pm.c:144: undefined reference to 's3c_irqwake_eintallow' arch/arm/plat-samsung/built-in.o: In function 's3c_pm_enter': linux/arch/arm/plat-samsung/pm.c:263: undefined reference to 's3c_irqwake_intallow' linux/arch/arm/plat-samsung/pm.c:263: undefined reference to 's3c_irqwake_intallow' linux/arch/arm/plat-samsung/pm.c:264: undefined reference to 's3c_irqwake_eintallow' linux/arch/arm/plat-samsung/pm.c:264: undefined reference to 's3c_irqwake_eintallow' linux/arch/arm/plat-samsung/pm.c:275: undefined reference to 's3c_pm_save_core' linux/arch/arm/plat-samsung/pm.c:279: undefined reference to 's3c_pm_configure_extint' linux/arch/arm/plat-samsung/pm.c:310: undefined reference to 's3c_pm_restore_core' make: *** [vmlinux] Error 1 Signed-off-by: Amit Daniel Kachhap <amit.daniel@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com> |
||
---|---|---|
.. | ||
adc-core.h | ||
adc.h | ||
ata-core.h | ||
backlight.h | ||
camport.h | ||
clock-clksrc.h | ||
clock.h | ||
cpu-freq-core.h | ||
cpu-freq.h | ||
cpu.h | ||
devs.h | ||
dma-core.h | ||
dma-ops.h | ||
dma-pl330.h | ||
dma-s3c24xx.h | ||
dma.h | ||
fb-core.h | ||
fb-s3c2410.h | ||
fb.h | ||
fimc-core.h | ||
fiq.h | ||
gpio-cfg-helpers.h | ||
gpio-cfg.h | ||
gpio-core.h | ||
hdmi.h | ||
iic-core.h | ||
irq-uart.h | ||
irq-vic-timer.h | ||
irqs.h | ||
keypad-core.h | ||
keypad.h | ||
map-base.h | ||
map-s3c.h | ||
map-s5p.h | ||
mfc.h | ||
nand-core.h | ||
onenand-core.h | ||
pll.h | ||
pm.h | ||
pwm-clock.h | ||
regs-adc.h | ||
regs-ata.h | ||
regs-dma.h | ||
regs-irqtype.h | ||
regs-nand.h | ||
regs-serial.h | ||
regs-spi.h | ||
regs-srom.h | ||
regs-timer.h | ||
regs-udc.h | ||
regs-usb-hsotg-phy.h | ||
rtc-core.h | ||
s5p-clock.h | ||
samsung-time.h | ||
sdhci.h | ||
spi-core.h | ||
tv-core.h | ||
uncompress.h | ||
usb-phy.h | ||
wakeup-mask.h | ||
watchdog-reset.h |