]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - include/linux/mmc/host.h
mmc: remove the "state" argument to mmc_suspend_host()
[net-next-2.6.git] / include / linux / mmc / host.h
index 43eaf5ca58481a732a96e80507ead6246ed3d9c2..f65913c9f5a4001f5e53207c5f4a04e61f332ff7 100644 (file)
@@ -108,6 +108,9 @@ struct mmc_host_ops {
        int     (*get_cd)(struct mmc_host *host);
 
        void    (*enable_sdio_irq)(struct mmc_host *host, int enable);
+
+       /* optional callback for HC quirks */
+       void    (*init_card)(struct mmc_host *host, struct mmc_card *card);
 };
 
 struct mmc_card;
@@ -227,7 +230,7 @@ static inline void *mmc_priv(struct mmc_host *host)
 #define mmc_classdev(x)        (&(x)->class_dev)
 #define mmc_hostname(x)        (dev_name(&(x)->class_dev))
 
-extern int mmc_suspend_host(struct mmc_host *, pm_message_t);
+extern int mmc_suspend_host(struct mmc_host *);
 extern int mmc_resume_host(struct mmc_host *);
 
 extern void mmc_power_save_host(struct mmc_host *host);