[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:
Russell King
2005-08-19 09:40:08 +01:00
committed by Russell King
parent 099d44e869
commit d366b64363
5 changed files with 8 additions and 7 deletions

View File

@@ -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);