aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host
diff options
context:
space:
mode:
authorHarvey Harrison <harvey.harrison@gmail.com>2008-04-29 04:03:34 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-29 11:06:27 -0400
commit48b2cf9e2921581c3f72295397da07673cdde072 (patch)
tree3fb2deecdfe7eb7a9c10d2d192dff1e532d6ea77 /drivers/mmc/host
parent858ad08cf4c32a51d26552d3cb5fa8d5e2f0e579 (diff)
mmc: use get/put_unaligned_* helpers
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Cc: David Brownell <dbrownell@users.sourceforge.net> Cc: Tony Jones <tonyj@suse.de> Cc: Pierre Ossman <drzeus@drzeus.cx> Cc: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/mmc/host')
-rw-r--r--drivers/mmc/host/mmc_spi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/mmc_spi.c b/drivers/mmc/host/mmc_spi.c
index 365024b83d3d..35508584ac2a 100644
--- a/drivers/mmc/host/mmc_spi.c
+++ b/drivers/mmc/host/mmc_spi.c
@@ -340,7 +340,7 @@ checkstatus:
340 340
341 /* SPI R3, R4, or R7 == R1 + 4 bytes */ 341 /* SPI R3, R4, or R7 == R1 + 4 bytes */
342 case MMC_RSP_SPI_R3: 342 case MMC_RSP_SPI_R3:
343 cmd->resp[1] = be32_to_cpu(get_unaligned((u32 *)cp)); 343 cmd->resp[1] = get_unaligned_be32(cp);
344 break; 344 break;
345 345
346 /* SPI R1 == just one status byte */ 346 /* SPI R1 == just one status byte */