Merge branch 'irq-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip

* 'irq-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
  genirq: Fix incorrect proc spurious output
This commit is contained in:
Linus Torvalds 2010-12-07 08:14:28 -08:00
commit 81e8d21625

View File

@ -214,7 +214,7 @@ static int irq_spurious_proc_show(struct seq_file *m, void *v)
static int irq_spurious_proc_open(struct inode *inode, struct file *file) static int irq_spurious_proc_open(struct inode *inode, struct file *file)
{ {
return single_open(file, irq_spurious_proc_show, NULL); return single_open(file, irq_spurious_proc_show, PDE(inode)->data);
} }
static const struct file_operations irq_spurious_proc_fops = { static const struct file_operations irq_spurious_proc_fops = {