1
0
Fork 0

dma: struct device - replace bus_id with dev_name(), dev_set_name()

Cc: Dan Williams <dan.j.williams@intel.com>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
hifive-unleashed-5.1
Kay Sievers 2009-03-24 16:38:22 -07:00 committed by Greg Kroah-Hartman
parent 9591463af7
commit dfbc90196d
1 changed files with 1 additions and 1 deletions

View File

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