]> 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 bb2774af9ea91d9891b3b4ba752b4c7221266e8e..745da9881aa7e3c5a38ac982d52d9d227eae7afd 100644 (file)
@@ -18,8 +18,6 @@
 struct mmc_bus_ops {
        void (*remove)(struct mmc_host *);
        void (*detect)(struct mmc_host *);
-       int (*sysfs_add)(struct mmc_host *, struct mmc_card *card);
-       void (*sysfs_remove)(struct mmc_host *, struct mmc_card *card);
        void (*suspend)(struct mmc_host *);
        void (*resume)(struct mmc_host *);
 };
@@ -48,5 +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