mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-18 17:54:13 +08:00
mmc: sdhci-s3c: remove unused ext_cd_gpio field
Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl> Acked-by: Adrian Hunter <adrian.hunter@intel.com> Link: https://lore.kernel.org/r/3f12c2deaae9e77a5e7ab8415db7751a27bc3b98.1575916477.git.mirq-linux@rere.qmqm.pl Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
This commit is contained in:
parent
f630d0114d
commit
2c3039c143
@ -117,7 +117,6 @@ struct sdhci_s3c {
|
||||
struct s3c_sdhci_platdata *pdata;
|
||||
int cur_clk;
|
||||
int ext_cd_irq;
|
||||
int ext_cd_gpio;
|
||||
|
||||
struct clk *clk_io;
|
||||
struct clk *clk_bus[MAX_BUS_CLK];
|
||||
@ -512,7 +511,6 @@ static int sdhci_s3c_probe(struct platform_device *pdev)
|
||||
goto err_pdata_io_clk;
|
||||
} else {
|
||||
memcpy(pdata, pdev->dev.platform_data, sizeof(*pdata));
|
||||
sc->ext_cd_gpio = -1; /* invalid gpio number */
|
||||
}
|
||||
|
||||
drv_data = sdhci_s3c_get_driver_data(pdev);
|
||||
|
Loading…
Reference in New Issue
Block a user