From: Stephen Warren Date: Wed, 18 Apr 2012 20:43:40 +0000 (-0600) Subject: USB: ehci-tegra: don't call set_irq_flags(IRQF_VALID) X-Git-Tag: v3.4-rc4~14^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8034761c219ce545a9f4d3b23cfda47a0027cc8c;p=platform%2Fkernel%2Flinux-stable.git USB: ehci-tegra: don't call set_irq_flags(IRQF_VALID) This call is not needed; the IRQ controller should (and does) set up interrupts correctly. set_irq_flags() isn't exported to modules, to this also fixes compilation of ehci-tegra.c as a module. Signed-off-by: Stephen Warren Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/host/ehci-tegra.c b/drivers/usb/host/ehci-tegra.c index 73544bd..8618336 100644 --- a/drivers/usb/host/ehci-tegra.c +++ b/drivers/usb/host/ehci-tegra.c @@ -731,7 +731,6 @@ static int tegra_ehci_probe(struct platform_device *pdev) err = -ENODEV; goto fail; } - set_irq_flags(irq, IRQF_VALID); #ifdef CONFIG_USB_OTG_UTILS if (pdata->operating_mode == TEGRA_USB_OTG) {