mmc: sdhci-s3c: Fix compilation warning
authorSachin Kamat <sachin.kamat@linaro.org>
Tue, 4 Dec 2012 11:33:07 +0000 (17:03 +0530)
committerChris Ball <cjb@laptop.org>
Fri, 7 Dec 2012 18:54:57 +0000 (13:54 -0500)
commit4577f77ba76127cd9e72e06f44d743894d34ac8b
treea6225061ab8d06d4bd1891c7cfad54897d275a97
parent1a1f1f0495604d45e67a328fda80c1cb6a8d87d2
mmc: sdhci-s3c: Fix compilation warning

'sc' is used only when CONFIG_PM_RUNTIME is defined. Hence define it
conditionally.

Silences the following warning:
drivers/mmc/host/sdhci-s3c.c: In function ‘sdhci_s3c_notify_change’:
drivers/mmc/host/sdhci-s3c.c:378:20: warning: unused variable ‘sc’ [-Wunused-variable]

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Acked-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sdhci-s3c.c