aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorDavid Brownell <david-b@pacbell.net>2007-10-24 18:44:08 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2007-10-25 12:18:45 -0700
commit51745281b0bf56312b78d8f56afb970cd7c91137 (patch)
tree687b739ffa9e07dc7638d51a184102033e6806ef /drivers/usb
parentUSB: usbserial - fix potential deadlock between write() and IRQ (diff)
downloadlinux-dev-51745281b0bf56312b78d8f56afb970cd7c91137.tar.xz
linux-dev-51745281b0bf56312b78d8f56afb970cd7c91137.zip
USB: amd5536udc - remove set_mwi() compiler warning
Get rid of pointless pci_set_mwi() compiler warning. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/gadget/amd5536udc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/amd5536udc.c b/drivers/usb/gadget/amd5536udc.c
index 1c8040602525..c72e9620bf8d 100644
--- a/drivers/usb/gadget/amd5536udc.c
+++ b/drivers/usb/gadget/amd5536udc.c
@@ -3289,7 +3289,7 @@ static int udc_pci_probe(
dev->chiprev = pdev->revision;
pci_set_master(pdev);
- pci_set_mwi(pdev);
+ pci_try_set_mwi(pdev);
/* init dma pools */
if (use_dma) {