Re: [PATCH] hub: make compile without CONFIG_PM

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

 



On Tue, Feb 11, 2014 at 6:47 AM,  <oliver@xxxxxxxxxx> wrote:
> From: Oliver Neukum <oneukum@xxxxxxx>
>
> Define usb_lock_port and usb_unlock_port in all cases
>
> Signed-off-by: Oliver Neukum <oneukum@xxxxxxx>
> ---
>  drivers/usb/core/hub.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c
> index 28d1218..68d077e 100644
> --- a/drivers/usb/core/hub.c
> +++ b/drivers/usb/core/hub.c
> @@ -3849,6 +3849,8 @@ EXPORT_SYMBOL_GPL(usb_unlocked_enable_lpm);
>  #define hub_suspend            NULL
>  #define hub_resume             NULL
>  #define hub_reset_resume       NULL
> +#define usb_lock_port          NULL
> +#define usb_unlock_port                NULL
>
>  int usb_disable_lpm(struct usb_device *udev)
>  {
> --
> 1.8.4

Thanks for the patch Oliver, I'll move the definition as Alan suggested.
--
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