]> err.no Git - linux-2.6/blobdiff - drivers/mmc/core/core.h
mmc: Export internal host state through debugfs
[linux-2.6] / drivers / mmc / core / core.h
index cfa8e15b5923a8c40ccca0f111fbf51c282a03c3..745da9881aa7e3c5a38ac982d52d9d227eae7afd 100644 (file)
@@ -46,7 +46,15 @@ void mmc_rescan(struct work_struct *work);
 void mmc_start_host(struct mmc_host *host);
 void mmc_stop_host(struct mmc_host *host);
 
+int mmc_attach_mmc(struct mmc_host *host, u32 ocr);
+int mmc_attach_sd(struct mmc_host *host, u32 ocr);
+int mmc_attach_sdio(struct mmc_host *host, u32 ocr);
+
 extern int use_spi_crc;
 
+/* Debugfs information for hosts and cards */
+void mmc_add_host_debugfs(struct mmc_host *host);
+void mmc_remove_host_debugfs(struct mmc_host *host);
+
 #endif