[MMC] Add mmc_hostname() macro
mmc_hostname() returns a pointer to the hostname for the mmc_host. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
committed by
Russell King
parent
099d44e869
commit
d366b64363
@@ -1796,7 +1796,7 @@ static int __devinit wbsd_init(struct device* dev, int base, int irq, int dma,
|
||||
|
||||
mmc_add_host(mmc);
|
||||
|
||||
printk(KERN_INFO "%s: W83L51xD", mmc->host_name);
|
||||
printk(KERN_INFO "%s: W83L51xD", mmc_hostname(mmc));
|
||||
if (host->chip_id != 0)
|
||||
printk(" id %x", (int)host->chip_id);
|
||||
printk(" at 0x%x irq %d", (int)host->base, (int)host->irq);
|
||||
|
Reference in New Issue
Block a user