From: Arnd Bergmann Date: Sat, 4 Aug 2012 10:28:33 +0000 (+0000) Subject: ARM: exynos: exynos_pm_add_dev_to_genpd may be unused X-Git-Tag: v3.6-rc2~20^2~2^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ab08c0c4c39f36d3bf89e03a4bc3e6898e1563c;p=pandora-kernel.git ARM: exynos: exynos_pm_add_dev_to_genpd may be unused 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 Acked-by: Thomas Abraham Acked-by: Kukjin Kim Cc: Rafael J. Wysocki --- Reading git-diff-tree failed