From: Thierry Reding Date: Mon, 13 Oct 2014 22:53:59 +0000 (-0700) Subject: memstick: r592: fix build warnings for !PM_SLEEP X-Git-Tag: omap-for-v3.19/prcm-cleanup~76^2~50 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ef9819234e285abe6b616864e7b1b4607d39b58;p=pandora-kernel.git 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-diff-tree failed