]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/mmc/host/tmio_mmc.h
mmc: tmio: move tmio_mmc_set_clock() to platform hook
[linux.git] / drivers / mmc / host / tmio_mmc.h
index efa5a1e3e5af9f08eca8964edc0972877a80fe94..a9972dc60c6fbb8ce621e08e0f38e13dcebcd22d 100644 (file)
@@ -129,7 +129,6 @@ struct tmio_mmc_host {
 
        /* Callbacks for clock / power control */
        void (*set_pwr)(struct platform_device *host, int state);
-       void (*set_clk_div)(struct platform_device *host, int state);
 
        /* pio related stuff */
        struct scatterlist      *sg_ptr;
@@ -166,10 +165,9 @@ struct tmio_mmc_host {
 
        /* Mandatory callback */
        int (*clk_enable)(struct tmio_mmc_host *host);
+       void (*set_clock)(struct tmio_mmc_host *host, unsigned int clock);
 
        /* Optional callbacks */
-       unsigned int (*clk_update)(struct tmio_mmc_host *host,
-                                  unsigned int new_clock);
        void (*clk_disable)(struct tmio_mmc_host *host);
        int (*multi_io_quirk)(struct mmc_card *card,
                              unsigned int direction, int blk_size);