[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-id: <0de601cd76c4$2d5846c0$8808d440$%kim@samsung.com>
Date: Fri, 10 Aug 2012 15:48:40 +0900
From: Kukjin Kim <kgene.kim@...sung.com>
To: 'Arnd Bergmann' <arnd@...db.de>,
linux-arm-kernel@...ts.infradead.org
Cc: arm@...nel.org, linux-kernel@...r.kernel.org,
'Thomas Abraham' <thomas.abraham@...aro.org>,
"'Rafael J. Wysocki'" <rjw@...k.pl>
Subject: RE: [PATCH 05/11] ARM: exynos: exynos_pm_add_dev_to_genpd may be unused
Arnd Bergmann wrote:
>
> 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@...db.de>
> Cc: Thomas Abraham <thomas.abraham@...aro.org>
> Cc: Rafael J. Wysocki <rjw@...k.pl>
> Cc: Kukjin Kim <kgene.kim@...sung.com>
Acked-by: Kukjin Kim <kgene.kim@...sung.com>
Thanks.
Best regards,
Kgene.
--
Kukjin Kim <kgene.kim@...sung.com>, Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists