A few drivers use a construct like
#ifdef CONFIG_PM
static int foo_suspend(struct device *pdev)
{
...
}
static int foo_resume struct device *pdev)
{
...
}
#endif
static SIMPLE_DEV_PM_OPS(foo_pm, foo_suspend, foo_resume);
which leaves the two functions unused if CONFIG_PM is enabl
On 08/08/2012 08:47 AM, Arnd Bergmann wrote:
> A few drivers use a construct like
>
> #ifdef CONFIG_PM
> static int foo_suspend(struct device *pdev)
> {
> ...
> }
> static int foo_resume struct device *pdev)
> {
> ...
> }
> #endif
> static SIMPLE_DEV_PM_OPS(foo_pm, foo_suspend, fo
On Wednesday 08 August 2012, Stephen Warren wrote:
> On 08/08/2012 08:47 AM, Arnd Bergmann wrote:
> > A few drivers use a construct like
> >
> > #ifdef CONFIG_PM
> > static int foo_suspend(struct device *pdev)
> > {
> > ...
> > }
> > static int foo_resume struct device *pdev)
> > {
> >
At Wed, 8 Aug 2012 16:22:29 +,
Arnd Bergmann wrote:
>
> On Wednesday 08 August 2012, Stephen Warren wrote:
> > On 08/08/2012 08:47 AM, Arnd Bergmann wrote:
> > > A few drivers use a construct like
> > >
> > > #ifdef CONFIG_PM
> > > static int foo_suspend(struct device *pdev)
> > > {
> > >
Arnd Bergmann writes:
> A few drivers use a construct like
>
> #ifdef CONFIG_PM
> static int foo_suspend(struct device *pdev)
> {
> ...
> }
> static int foo_resume struct device *pdev)
> {
> ...
> }
> #endif
> static SIMPLE_DEV_PM_OPS(foo_pm, foo_suspend, foo_resume);
>
> which l
On Wednesday 08 August 2012, Takashi Iwai wrote:
> At Wed, 8 Aug 2012 16:22:29 +,
> Arnd Bergmann wrote:
> > > Laxman already posted a patch for this, which I'm hoping will make it
> > > into 3.6, through the I2C tree.
> > >
> > > http://www.spinics.net/lists/linux-i2c/msg09359.html
> >
> > O
On Wednesday, August 08, 2012, Arnd Bergmann wrote:
> On Wednesday 08 August 2012, Takashi Iwai wrote:
> > At Wed, 8 Aug 2012 16:22:29 +,
> > Arnd Bergmann wrote:
> > > > Laxman already posted a patch for this, which I'm hoping will make it
> > > > into 3.6, through the I2C tree.
> > > >
> > >
On Wed, Aug 08, 2012 at 05:26:21PM +, Arnd Bergmann wrote:
>
> Ok. this leaves the omap-rng driver, and my patch comes down to the below.
> Thanks!
Patch applied. Thanks Arnd.
--
Email: Herbert Xu
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/
8 matches
Mail list logo