forked from luck/tmp_suning_uos_patched
8ab08c0c4c
exynos_pm_add_dev_to_genpd is used if one or more out of a large number of Kconfig symbols are enabled. However the new exynos_defconfig selects none of those, so the function becomes unused. Marking it so lets the compiler automatically discard it. Without this patch, building exynos_defconfig results in: arch/arm/mach-exynos/pm_domains.c:118:123: warning: 'exynos_pm_add_dev_to_genpd' defined but not used [-Wunused-function] Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Thomas Abraham <thomas.abraham@linaro.org> Acked-by: Kukjin Kim <kgene.kim@samsung.com> Cc: Rafael J. Wysocki <rjw@sisk.pl> |
||
---|---|---|
.. | ||
include/mach | ||
clock-exynos4.c | ||
clock-exynos4.h | ||
clock-exynos5.c | ||
clock-exynos4210.c | ||
clock-exynos4212.c | ||
common.c | ||
common.h | ||
cpuidle.c | ||
dev-ahci.c | ||
dev-audio.c | ||
dev-drm.c | ||
dev-dwmci.c | ||
dev-ohci.c | ||
dev-sysmmu.c | ||
dev-uart.c | ||
dma.c | ||
headsmp.S | ||
hotplug.c | ||
Kconfig | ||
mach-armlex4210.c | ||
mach-exynos4-dt.c | ||
mach-exynos5-dt.c | ||
mach-nuri.c | ||
mach-origen.c | ||
mach-smdk4x12.c | ||
mach-smdkv310.c | ||
mach-universal_c210.c | ||
Makefile | ||
Makefile.boot | ||
mct.c | ||
platsmp.c | ||
pm_domains.c | ||
pm.c | ||
pmu.c | ||
setup-fimc.c | ||
setup-fimd0.c | ||
setup-i2c1.c | ||
setup-i2c2.c | ||
setup-i2c3.c | ||
setup-i2c4.c | ||
setup-i2c5.c | ||
setup-i2c6.c | ||
setup-i2c7.c | ||
setup-i2c0.c | ||
setup-keypad.c | ||
setup-sdhci-gpio.c | ||
setup-spi.c | ||
setup-usb-phy.c |