Re: [BUG] usb_wwan: build error

From: Oliver Neukum
Date: Thu Mar 17 2011 - 02:02:04 EST


Am Donnerstag, 17. MÃrz 2011, 06:51:40 schrieb Eric Dumazet:
> commit 16871dcac74c (usb_wwan: error case of resume) added a build error
> if CONFIG_PM_RUNTIME is not defined.
>
> CC [M] drivers/usb/serial/usb_wwan.o
> drivers/usb/serial/usb_wwan.c: In function âplay_delayedâ:
> drivers/usb/serial/usb_wwan.c:702: error: âstruct dev_pm_infoâ has no
> member named âusage_countâ
>
> I suspect we should use pm_runtime_put_noidle() instead

Yes. I don't understand why it compiled for me. Has it been removed?

Regards
Oliver

PS: patch about to follow
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/