From: H Hartley Sweeten Date: Mon, 22 Apr 2013 19:33:53 +0000 (-0700) Subject: staging: comedi: ni_labpc: pass the isr_flags to labpc_common_attach() X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~137^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e034797191de9981cddff4d1a8203d020360958;p=pandora-kernel.git staging: comedi: ni_labpc: pass the isr_flags to labpc_common_attach() The PCI and PCMCIA LabPC boards use shared interrupts and need the IRQF_SHARED flag set when requesting the irq, the ISA boards do not. Instead of checking the 'bustype' in labpc_common_attach() in order to determine the isr_flags, just pass the flags as a parameter to the function. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed