summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/bcma-hcd.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2012-04-19 13:46:08 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-04-19 19:06:24 -0700
commit1f6155f5faabb7b99cb7a96abbd52e4bfcbdfc03 (patch)
tree5a6dc24a7b0d8d6315407f341e3b3c0a7a0c70d0 /drivers/usb/host/bcma-hcd.c
parent6d5f89c7b4fa5f8d6dc757982402c032183ffd8d (diff)
downloadlinux-1f6155f5faabb7b99cb7a96abbd52e4bfcbdfc03.tar.bz2
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);