Commit 93309015 authored by Russell King's avatar Russell King

[MMC] Deprecate "req" member of mmc_data structure.

Host drivers should now use the scatterlist rather than accessing
the request directly.  This marks the request pointer as being
deprecated so that host driver authors get a chance to fix their
drivers up before we remove this member.
parent b0a59076
...@@ -57,7 +57,7 @@ struct mmc_data { ...@@ -57,7 +57,7 @@ struct mmc_data {
unsigned int timeout_clks; /* data timeout (in clocks) */ unsigned int timeout_clks; /* data timeout (in clocks) */
unsigned int blksz_bits; /* data block size */ unsigned int blksz_bits; /* data block size */
unsigned int blocks; /* number of blocks */ unsigned int blocks; /* number of blocks */
struct request *req; /* request structure */ struct request *req __attribute__((deprecated));/* request structure (use the sg list instead) */
unsigned int error; /* data error */ unsigned int error; /* data error */
unsigned int flags; unsigned int flags;
......
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