diff options
author | Daniel Walker <dwalker@codeaurora.org> | 2010-05-24 13:15:00 -0400 |
---|---|---|
committer | Daniel Walker <dwalker@codeaurora.org> | 2010-06-09 11:51:31 -0400 |
commit | f3d56144c86beb25c7d206efa66d6efba908371c (patch) | |
tree | f24757410e6c04537f9bc057fab0af8cb8fb2d5c /drivers/mmc | |
parent | 6d7b7d578f2c182f77ab6dd1c375f848f38ea1a6 (diff) |
mmc: msm: fix compile error on MSM7x30
MSM7x30 isn't supported in this driver yet. If ones tried to compile it in
with MSM7x30 configure you get,
linux-2.6/drivers/mmc/host/msm_sdcc.c: In function 'msmsdcc_fifo_addr':
linux-2.6/drivers/mmc/host/msm_sdcc.c:165: error: 'MSM_SDC1_PHYS' undeclared (first use in this function)
linux-2.6/drivers/mmc/host/msm_sdcc.c:165: error: (Each undeclared identifier is reported only once
linux-2.6/drivers/mmc/host/msm_sdcc.c:165: error: for each function it appears in.)
linux-2.6/drivers/mmc/host/msm_sdcc.c:167: error: 'MSM_SDC2_PHYS' undeclared (first use in this function)
linux-2.6/drivers/mmc/host/msm_sdcc.c:169: error: 'MSM_SDC3_PHYS' undeclared (first use in this function)
linux-2.6/drivers/mmc/host/msm_sdcc.c:171: error: 'MSM_SDC4_PHYS' undeclared (first use in this function)
So we add a Kconfig check to prevent this.
Signed-off-by: Daniel Walker <dwalker@codeaurora.org>
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/host/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig index e171e77f6129..f06d06e7fdfa 100644 --- a/drivers/mmc/host/Kconfig +++ b/drivers/mmc/host/Kconfig | |||
@@ -249,7 +249,7 @@ config MMC_IMX | |||
249 | 249 | ||
250 | config MMC_MSM7X00A | 250 | config MMC_MSM7X00A |
251 | tristate "Qualcomm MSM 7X00A SDCC Controller Support" | 251 | tristate "Qualcomm MSM 7X00A SDCC Controller Support" |
252 | depends on MMC && ARCH_MSM | 252 | depends on MMC && ARCH_MSM && !ARCH_MSM7X30 |
253 | help | 253 | help |
254 | This provides support for the SD/MMC cell found in the | 254 | This provides support for the SD/MMC cell found in the |
255 | MSM 7X00A controllers from Qualcomm. | 255 | MSM 7X00A controllers from Qualcomm. |