diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2008-12-01 09:35:31 +1100 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2008-12-01 09:35:31 +1100 |
commit | afdf5bde664db03e8d24f9b46a85898b53b6ed69 (patch) | |
tree | 7760186becedd5c2c833885ba345ee1c710f4343 /lib | |
parent | fc8099d8bd6b73733d37904d769b66bdeef1e701 (diff) |
swiotlb: struct device - replace bus_id with dev_name(), dev_set_name()
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/swiotlb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/swiotlb.c b/lib/swiotlb.c index 5f6c629a924d..96e8b1085b8e 100644 --- a/lib/swiotlb.c +++ b/lib/swiotlb.c @@ -533,7 +533,7 @@ swiotlb_full(struct device *dev, size_t size, int dir, int do_panic) * the damage, or panic when the transfer is too big. */ printk(KERN_ERR "DMA: Out of SW-IOMMU space for %zu bytes at " - "device %s\n", size, dev ? dev->bus_id : "?"); + "device %s\n", size, dev ? dev_name(dev) : "?"); if (size > io_tlb_overflow && do_panic) { if (dir == DMA_FROM_DEVICE || dir == DMA_BIDIRECTIONAL) |