Skip to content
Snippets Groups Projects
Commit 2c3039c1 authored by Michał Mirosław's avatar Michał Mirosław Committed by Ulf Hansson
Browse files
parent f630d011
No related branches found
No related tags found
No related merge requests found
...@@ -117,7 +117,6 @@ struct sdhci_s3c { ...@@ -117,7 +117,6 @@ struct sdhci_s3c {
struct s3c_sdhci_platdata *pdata; struct s3c_sdhci_platdata *pdata;
int cur_clk; int cur_clk;
int ext_cd_irq; int ext_cd_irq;
int ext_cd_gpio;
struct clk *clk_io; struct clk *clk_io;
struct clk *clk_bus[MAX_BUS_CLK]; struct clk *clk_bus[MAX_BUS_CLK];
...@@ -512,7 +511,6 @@ static int sdhci_s3c_probe(struct platform_device *pdev) ...@@ -512,7 +511,6 @@ static int sdhci_s3c_probe(struct platform_device *pdev)
goto err_pdata_io_clk; goto err_pdata_io_clk;
} else { } else {
memcpy(pdata, pdev->dev.platform_data, sizeof(*pdata)); memcpy(pdata, pdev->dev.platform_data, sizeof(*pdata));
sc->ext_cd_gpio = -1; /* invalid gpio number */
} }
drv_data = sdhci_s3c_get_driver_data(pdev); drv_data = sdhci_s3c_get_driver_data(pdev);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment