Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit baab7307 authored by Maurus Cuelenaere's avatar Maurus Cuelenaere Committed by Kukjin Kim
Browse files

ARM: SAMSUNG: Fix warning 's3c_pm_show_resume_irqs' defined but not used



s3c_pm_show_resume_irqs() is used by some s3c_pm_arch_show_resume_irqs()
implementations, which get included through mach/pm-core.h. Add __maybe_unused
to silence warnings when it isn't used (e.g. on S3C64XX platforms).

Signed-off-by: default avatarMaurus Cuelenaere <mcuelenaere@gmail.com>
Signed-off-by: default avatarKukjin Kim <kgene.kim@samsung.com>
parent 96cfb97d
Loading
Loading
Loading
Loading
+3 −2
Original line number Original line Diff line number Diff line
@@ -214,7 +214,8 @@ void s3c_pm_do_restore_core(struct sleep_save *ptr, int count)
 *
 *
 * print any IRQs asserted at resume time (ie, we woke from)
 * print any IRQs asserted at resume time (ie, we woke from)
*/
*/
static void s3c_pm_show_resume_irqs(int start, unsigned long which,
static void __maybe_unused s3c_pm_show_resume_irqs(int start,
						   unsigned long which,
						   unsigned long mask)
						   unsigned long mask)
{
{
	int i;
	int i;