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-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=8034761c219ce545a9f4d3b23cfda47a0027cc8c;p=openwrt%2Fstaging%2Fblogic.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 73544bd440bd..86183366647f 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) {