Cc: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
                }
        }
 
-       if (pd && pd->use_cd_gpio) {
-               ret = mmc_gpio_request_cd(mmc, pd->cd_gpio, 0);
-               if (ret < 0)
-                       goto err_clk;
-       }
-
        mutex_init(&host->thread_lock);
 
        ret = mmc_add_host(mmc);
 
        int (*get_cd)(struct platform_device *pdef);
        unsigned int            slave_id_tx;    /* embedded slave_id_[tr]x */
        unsigned int            slave_id_rx;
-       bool                    use_cd_gpio : 1;
        bool                    ccs_unsupported : 1;
        bool                    clk_ctrl2_present : 1;
-       unsigned int            cd_gpio;
        u8                      sup_pclk;       /* 1 :SH7757, 0: SH7724/SH7372 */
        unsigned long           caps;
        u32                     ocr;