[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20110317100718.6f4d6fe3.randy.dunlap@oracle.com>
Date: Thu, 17 Mar 2011 10:07:18 -0700
From: Randy Dunlap <randy.dunlap@...cle.com>
To: Oliver Neukum <oliver@...kum.org>
Cc: Eric Dumazet <eric.dumazet@...il.com>,
"linux-kernel" <linux-kernel@...r.kernel.org>,
"Greg Kroah-Hartman" <gregkh@...e.de>
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists