summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/bcma-hcd.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2012-04-19 12:46:08 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-04-20 04:06:24 +0200
commit1f6155f5faabb7b99cb7a96abbd52e4bfcbdfc03 (patch)
tree5a6dc24a7b0d8d6315407f341e3b3c0a7a0c70d0 /drivers/usb/host/bcma-hcd.c
parentUSB: EHCI: remove PORT_RWC_BITS when clearing USB_PORT_FEAT_ENABLE (diff)
downloadlinux-1f6155f5faabb7b99cb7a96abbd52e4bfcbdfc03.tar.xz
linux-1f6155f5faabb7b99cb7a96abbd52e4bfcbdfc03.zip
USB: bcma: suspend() only takes one argument now
We changed the API here a couple months ago. It suspend() only takes one argument now. GCC complains about this: drivers/usb/host/bcma-hcd.c:320:2: warning: initialization from incompatible pointer type [enabled by default] drivers/usb/host/bcma-hcd.c:320:2: warning: (near initialization for ‘bcma_hcd_driver.suspend’) [enabled by default] Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/bcma-hcd.c')
-rw-r--r--drivers/usb/host/bcma-hcd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/bcma-hcd.c b/drivers/usb/host/bcma-hcd.c
index afec047e4f94..0b35d422fa4e 100644
--- a/drivers/usb/host/bcma-hcd.c
+++ b/drivers/usb/host/bcma-hcd.c
@@ -286,7 +286,7 @@ static void bcma_hcd_shutdown(struct bcma_device *dev)
#ifdef CONFIG_PM
-static int bcma_hcd_suspend(struct bcma_device *dev, pm_message_t state)
+static int bcma_hcd_suspend(struct bcma_device *dev)
{
bcma_core_disable(dev, 0);