USB: amd5536udc - remove set_mwi() compiler warning
authorDavid Brownell <david-b@pacbell.net>
Thu, 25 Oct 2007 01:44:08 +0000 (18:44 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 25 Oct 2007 19:18:45 +0000 (12:18 -0700)
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>
drivers/usb/gadget/amd5536udc.c

index 1c80406025252ed4f8b8a258f2a6d1f9ee8bbf4f..c72e9620bf8dc67164dfc64eaa9da2488e834282 100644 (file)
@@ -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) {