X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=kernel%2Fdma.c;h=d2c60a82279085e80d0a46edbc0a3557e9b87f83;hb=af3e69cfc9644c742a22647a5091779b9dfb9653;hp=6a82bb716dace9bbcf0b469e3119fd10a95b9b1a;hpb=4fa4d23fa20de67df919030c1216295664866ad7;p=linux-2.6-omap-h63xx.git diff --git a/kernel/dma.c b/kernel/dma.c index 6a82bb716da..d2c60a82279 100644 --- a/kernel/dma.c +++ b/kernel/dma.c @@ -149,12 +149,7 @@ static const struct file_operations proc_dma_operations = { static int __init proc_dma_init(void) { - struct proc_dir_entry *e; - - e = create_proc_entry("dma", 0, NULL); - if (e) - e->proc_fops = &proc_dma_operations; - + proc_create("dma", 0, NULL, &proc_dma_operations); return 0; }