提交 1f6155f5 编写于 作者: D Dan Carpenter 提交者: Greg Kroah-Hartman

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: NDan Carpenter <dan.carpenter@oracle.com>
Acked-by: NHauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 6d5f89c7
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册