Messages in this thread |  | | | Date | Thu, 17 Mar 2011 10:07:18 -0700 | | From | Randy Dunlap <> | | Subject | Re: [BUG] usb_wwan: build error |
| |
On Thu, 17 Mar 2011 07:02:28 +0100 Oliver Neukum wrote:
> 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?
usage_count is only there when CONFIG_PM_RUNTIME is enabled. Building with CONFIG_PM_RUNTIME disabled produces a build error.
> Regards > Oliver > > PS: patch about to follow
--- ~Randy *** Remember to use Documentation/SubmitChecklist when testing your code *** -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |