]> git.openfabrics.org - ~emulex/infiniband.git/commit
memstick: r592: fix build warnings for !PM_SLEEP
authorThierry Reding <treding@nvidia.com>
Mon, 13 Oct 2014 22:53:59 +0000 (15:53 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 14 Oct 2014 00:18:22 +0000 (02:18 +0200)
commit5ef9819234e285abe6b616864e7b1b4607d39b58
treeeb8385252b6bd78433c2551a101b84f9ddca3b36
parentc70b17b6538ecda81050a0f5a5475137a0ae451f
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 <treding@nvidia.com>
Cc: Maxim Levitsky <maximlevitsky@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/memstick/host/r592.c