omap_hsmmc: implement driver check for card detection

Implement driver check for card detection.

Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
This commit is contained in:
Nikita Kiryanov 2012-12-03 02:19:44 +00:00 committed by Tom Rini
parent cc22b0c012
commit e874d5b001
28 changed files with 69 additions and 49 deletions

View file

@ -161,7 +161,7 @@ struct hsmmc {
#define mmc_reg_out(addr, mask, val)\
writel((readl(addr) & (~(mask))) | ((val) & (mask)), (addr))
int omap_mmc_init(int dev_index, uint host_caps_mask, uint f_max);
int omap_mmc_init(int dev_index, uint host_caps_mask, uint f_max, int cd_gpio);
#endif /* OMAP_MMC_H_ */