|
@@ -908,9 +908,6 @@ static struct sdhci_pci_slot * __devinit sdhci_pci_probe_slot(
|
|
{
|
|
{
|
|
struct sdhci_pci_slot *slot;
|
|
struct sdhci_pci_slot *slot;
|
|
struct sdhci_host *host;
|
|
struct sdhci_host *host;
|
|
-
|
|
|
|
- resource_size_t addr;
|
|
|
|
-
|
|
|
|
int ret;
|
|
int ret;
|
|
|
|
|
|
if (!(pci_resource_flags(pdev, bar) & IORESOURCE_MEM)) {
|
|
if (!(pci_resource_flags(pdev, bar) & IORESOURCE_MEM)) {
|
|
@@ -957,7 +954,6 @@ static struct sdhci_pci_slot * __devinit sdhci_pci_probe_slot(
|
|
goto free;
|
|
goto free;
|
|
}
|
|
}
|
|
|
|
|
|
- addr = pci_resource_start(pdev, bar);
|
|
|
|
host->ioaddr = pci_ioremap_bar(pdev, bar);
|
|
host->ioaddr = pci_ioremap_bar(pdev, bar);
|
|
if (!host->ioaddr) {
|
|
if (!host->ioaddr) {
|
|
dev_err(&pdev->dev, "failed to remap registers\n");
|
|
dev_err(&pdev->dev, "failed to remap registers\n");
|