Skip to content
Commit 819e3237 authored by Matti Linnanvuori's avatar Matti Linnanvuori Committed by Jesse Barnes
Browse files

Consistently use pdev as the variable of type struct pci_dev *.


Update DMA mapping documentation to use 'pdev' rather than 'dev' in
example code that calls routines expecting 'struct pci_device *', since 'dev'
might make readers think they're passing 'struct device *' parameters.
Bug 10397.

Signed-off-by: default avatarMatti Linnanvuori <mattilinnanvuori@yahoo.com>
Acked-by: default avatarMatthew Wilcox <willy@linux.intel.com>
Signed-off-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
parent b7aa1f16
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment