summaryrefslogtreecommitdiff
path: root/drivers/mmc/pci_mmc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mmc/pci_mmc.c')
-rw-r--r--drivers/mmc/pci_mmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/pci_mmc.c b/drivers/mmc/pci_mmc.c
index 5fb7151..340eef6 100644
--- a/drivers/mmc/pci_mmc.c
+++ b/drivers/mmc/pci_mmc.c
@@ -28,7 +28,7 @@ int pci_mmc_init(const char *name, struct pci_device_id *mmc_supported)
if (!mmc_host)
return -ENOMEM;
- mmc_host->name = (char *)name;
+ mmc_host->name = name;
dm_pci_read_config32(dev, PCI_BASE_ADDRESS_0, &iobase);
mmc_host->ioaddr = (void *)iobase;
mmc_host->quirks = 0;