Skip to content

Commit

Permalink
USB: bcma: suspend() only takes one argument now
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Dan Carpenter authored and Greg Kroah-Hartman committed Apr 20, 2012
1 parent 6d5f89c commit 1f6155f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/usb/host/bcma-hcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 1f6155f

Please sign in to comment.