]> git.baikalelectronics.ru Git - kernel.git/commit
[MMC] au1xmmc: Fix linking error because mmc_rsp_type doesn't exist
authorMartin Michlmayr <tbm@cyrius.com>
Sat, 4 Mar 2006 23:01:39 +0000 (23:01 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 4 Mar 2006 23:01:39 +0000 (23:01 +0000)
commit0bddee35178a1d90d70f9e8903ee87b7d9168c1d
treea807b2f1c9b5a9676428aba0599d3573bc198979
parent10f2bef0b51a8bf11da33481a23b914b711e8434
[MMC] au1xmmc: Fix linking error because mmc_rsp_type doesn't exist

drivers/mmc/au1xmmc.c doesn't compile because commit
14006aca71f48a03925869b63f215d01097b25cd introduced a typo and passes
the wrong argument to the mmc_resp_type macro.

Error because of the typo:

  CC      drivers/mmc/au1xmmc.o
drivers/mmc/au1xmmc.c: In function ‘au1xmmc_send_command’:
drivers/mmc/au1xmmc.c:197: warning: implicit declaration of function ‘mmc_rsp_type’
...
  LD      .tmp_vmlinux1
drivers/built-in.o: In function `au1xmmc_request':au1xmmc.c:(.text+0x89504): undefined reference to `mmc_rsp_type'
:au1xmmc.c:(.text+0x8968c): undefined reference to `mmc_rsp_type'
make: *** [.tmp_vmlinux1] Error 1

Error because of the wrong argument:

  CC      drivers/mmc/au1xmmc.o
drivers/mmc/au1xmmc.c: In function ‘au1xmmc_send_command’:
drivers/mmc/au1xmmc.c:197: error: invalid type argument of ‘->’

Signed-off-by: Martin Michlmayr <tbm@cyrius.com>
Acked-by: Jordan Crouse <jordan.crouse@amd.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/mmc/au1xmmc.c