Skip to content

Commit

Permalink
dma: struct device - replace bus_id with dev_name(), dev_set_name()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Kay Sievers authored and Greg Kroah-Hartman committed Mar 24, 2009
1 parent 9591463 commit dfbc901
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/dma/dw_dmac.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit dfbc901

Please sign in to comment.