diff options
Diffstat (limited to 'include/linux/mmc/card.h')
-rw-r--r-- | include/linux/mmc/card.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/mmc/card.h b/include/linux/mmc/card.h index 9178aa48209a..8f17619931ab 100644 --- a/include/linux/mmc/card.h +++ b/include/linux/mmc/card.h @@ -22,6 +22,7 @@ struct mmc_cid { unsigned char hwrev; unsigned char fwrev; unsigned char month; + unsigned short prod_rev; }; struct mmc_csd { @@ -83,6 +84,9 @@ struct mmc_ext_csd { u8 out_of_int_time; /* out of int time */ bool bk_ops; /* BK ops support bit */ bool bk_ops_en; /* BK ops enable bit */ + bool refresh; /* refresh of blocks supported */ + __kernel_time_t last_tv_sec; /* last time a block was refreshed */ + __kernel_time_t last_bkops_tv_sec; /* last time bkops was done */ }; struct sd_scr { @@ -224,6 +228,10 @@ struct mmc_card { unsigned int sd_bus_speed; /* Bus Speed Mode set for the card */ struct dentry *debugfs_root; + + struct timer_list timer; + struct work_struct bkops; + struct work_struct refresh; }; /* |