[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20120817034210.GA7770@kroah.com>
Date: Thu, 16 Aug 2012 20:42:10 -0700
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Ming Lei <ming.lei@...onical.com>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>,
"Rafael J. Wysocki" <rjw@...k.pl>,
Borislav Petkov <borislav.petkov@....com>,
linux-kernel@...r.kernel.org, linux-pm@...r.kernel.org
Subject: Re: [RFC PATCH 2/3] PM / Sleep: introduce dpm_for_each_dev
On Fri, Aug 17, 2012 at 09:54:56AM +0800, Ming Lei wrote:
> On Fri, Aug 17, 2012 at 9:45 AM, Ming Lei <ming.lei@...onical.com> wrote:
> > diff --git a/include/linux/pm.h b/include/linux/pm.h
> > index 44d1f23..bf86f89 100644
> > --- a/include/linux/pm.h
> > +++ b/include/linux/pm.h
> > @@ -640,6 +640,7 @@ extern void __suspend_report_result(const char *function, void *fn, int ret);
> > } while (0)
> >
> > extern int device_pm_wait_for_dev(struct device *sub, struct device *dev);
> > +extern void dpm_for_each_dev(void *data, void (*fn)(struct device *, void *));
> >
> > extern int pm_generic_prepare(struct device *dev);
> > extern int pm_generic_suspend_late(struct device *dev);
> > @@ -679,6 +680,10 @@ static inline int device_pm_wait_for_dev(struct device *a, struct device *b)
> > return 0;
> > }
> >
> > +void dpm_for_each_dev(void *data, void (*fn)(struct device *, void *))
>
> Sorry, the above line is wrong, and should be defined as 'static inline'.
> Please drop this one and take the attachment patch.
Can you please just resend these, as this attachment was in base64 :(
--
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