Re: [PATCH] MUSB: compile fix for !CONFIG_PM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thursday 23 April 2009, Kevin Hilman wrote:
> The recent fix 'USB: musb: fix possible panic while resuming' did not
> also update the !CONFIG_PM case resulting in a compile failure.
> 
> Cc: Kim Kyuwon <q1.kim@xxxxxxxxxxx>
> Cc: David Brownell <dbrownell@xxxxxxxxxxxxxxxxxxxxx>
> Signed-off-by: Kevin Hilman <khilman@xxxxxxxxxxxxxxxxxxx>

Acked-by: David Brownell <dbrownell@xxxxxxxxxxxxxxxxxxxxx>

... for 2.6.30.  I noticed this in a test build just yesterday!

> ---
>  drivers/usb/musb/musb_core.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c
> index 0112353..25bbca8 100644
> --- a/drivers/usb/musb/musb_core.c
> +++ b/drivers/usb/musb/musb_core.c
> @@ -2190,8 +2190,8 @@ static int musb_resume_early(struct platform_device *pdev)
>  }
>  
>  #else
> -#define	musb_suspend	NULL
> -#define	musb_resume	NULL
> +#define	musb_suspend		NULL
> +#define	musb_resume_early	NULL
>  #endif
>  
>  static struct platform_driver musb_driver = {
> -- 
> 1.6.2.2
> 
> 


--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux