Commit e39bcf11 authored by Art Haas's avatar Art Haas Committed by Linus Torvalds

[PATCH] designated initializer patches for kernel_dma.c

Here's a patch for kernel/dma.c that switches it to use
C99 designated initializers.
parent 34c05f0e
......@@ -150,10 +150,10 @@ static int proc_dma_open(struct inode *inode, struct file *file)
}
static struct file_operations proc_dma_operations = {
open: proc_dma_open,
read: seq_read,
llseek: seq_lseek,
release: single_release,
.open = proc_dma_open,
.read = seq_read,
.llseek = seq_lseek,
.release = single_release,
};
static int __init proc_dma_init(void)
......
Markdown is supported
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