From 5ef9819234e285abe6b616864e7b1b4607d39b58 Mon Sep 17 00:00:00 2001 From: Thierry Reding Date: Mon, 13 Oct 2014 15:53:59 -0700 Subject: [PATCH] memstick: r592: fix build warnings for !PM_SLEEP When PM_SLEEP is not enabled, the r592_clear_interrupts() function is never used. If so, don't build it to prevent a compiler warning. Signed-off-by: Thierry Reding Cc: Maxim Levitsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-format-patch failed