From: Kay Sievers Date: Tue, 24 Mar 2009 23:38:22 +0000 (-0700) Subject: dma: struct device - replace bus_id with dev_name(), dev_set_name() X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=dfbc90196dfb9a814e7f2e1f4c47aa425452d313;p=openwrt%2Fstaging%2Fblogic.git dma: struct device - replace bus_id with dev_name(), dev_set_name() Cc: Dan Williams Acked-by: Greg Kroah-Hartman Signed-off-by: Kay Sievers --- diff --git a/drivers/dma/dw_dmac.c b/drivers/dma/dw_dmac.c index a97c07eef7ec..20ad3d26bec2 100644 --- a/drivers/dma/dw_dmac.c +++ b/drivers/dma/dw_dmac.c @@ -1011,7 +1011,7 @@ static int __init dw_probe(struct platform_device *pdev) dma_writel(dw, CFG, DW_CFG_DMA_EN); printk(KERN_INFO "%s: DesignWare DMA Controller, %d channels\n", - pdev->dev.bus_id, dw->dma.chancnt); + dev_name(&pdev->dev), dw->dma.chancnt); dma_async_device_register(&dw->dma);