提交 47b16539 编写于 作者: A Al Viro 提交者: Linus Torvalds

[PATCH] drivers/dma trivial annotations

Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 c714de5d
...@@ -80,7 +80,7 @@ static int enumerate_dma_channels(struct ioat_device *device) ...@@ -80,7 +80,7 @@ static int enumerate_dma_channels(struct ioat_device *device)
static struct ioat_desc_sw *ioat_dma_alloc_descriptor( static struct ioat_desc_sw *ioat_dma_alloc_descriptor(
struct ioat_dma_chan *ioat_chan, struct ioat_dma_chan *ioat_chan,
int flags) gfp_t flags)
{ {
struct ioat_dma_descriptor *desc; struct ioat_dma_descriptor *desc;
struct ioat_desc_sw *desc_sw; struct ioat_desc_sw *desc_sw;
...@@ -686,7 +686,7 @@ static int __devinit ioat_probe(struct pci_dev *pdev, ...@@ -686,7 +686,7 @@ static int __devinit ioat_probe(struct pci_dev *pdev,
{ {
int err; int err;
unsigned long mmio_start, mmio_len; unsigned long mmio_start, mmio_len;
void *reg_base; void __iomem *reg_base;
struct ioat_device *device; struct ioat_device *device;
err = pci_enable_device(pdev); err = pci_enable_device(pdev);
......
...@@ -44,7 +44,7 @@ extern struct list_head dma_client_list; ...@@ -44,7 +44,7 @@ extern struct list_head dma_client_list;
struct ioat_device { struct ioat_device {
struct pci_dev *pdev; struct pci_dev *pdev;
void *reg_base; void __iomem *reg_base;
struct pci_pool *dma_pool; struct pci_pool *dma_pool;
struct pci_pool *completion_pool; struct pci_pool *completion_pool;
...@@ -73,7 +73,7 @@ struct ioat_device { ...@@ -73,7 +73,7 @@ struct ioat_device {
struct ioat_dma_chan { struct ioat_dma_chan {
void *reg_base; void __iomem *reg_base;
dma_cookie_t completed_cookie; dma_cookie_t completed_cookie;
unsigned long last_completion; unsigned long last_completion;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册