forked from Minki/linux
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:
commit
81e8d21625
@ -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 = {
|
||||||
|
Loading…
Reference in New Issue
Block a user