Commit 1fa8dd14 authored by Pierre Ossman's avatar Pierre Ossman

mmc: use common byte swap macros

Use the more generic byte swapping macros instead of the socket variants.
Signed-off-by: default avatarPierre Ossman <drzeus@drzeus.cx>
parent 78e48073
...@@ -294,8 +294,8 @@ int mmc_app_send_scr(struct mmc_card *card, u32 *scr) ...@@ -294,8 +294,8 @@ int mmc_app_send_scr(struct mmc_card *card, u32 *scr)
if (data.error) if (data.error)
return data.error; return data.error;
scr[0] = ntohl(scr[0]); scr[0] = be32_to_cpu(scr[0]);
scr[1] = ntohl(scr[1]); scr[1] = be32_to_cpu(scr[1]);
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment