From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Subject: Re: [RFC 1/3] Runtime PM support for named power states Date: Sun, 2 Oct 2005 14:45:58 -0700 Message-ID: <20051002214558.GA21429@kroah.com> References: <20051002203746.GA2239@elf.ucw.cz> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8000834143907225==" Return-path: In-Reply-To: <20051002203746.GA2239@elf.ucw.cz> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-pm-bounces@lists.osdl.org Errors-To: linux-pm-bounces@lists.osdl.org To: Pavel Machek Cc: Linux-pm mailing list List-Id: linux-pm@vger.kernel.org --===============8000834143907225== Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sun, Oct 02, 2005 at 10:37:46PM +0200, Pavel Machek wrote: > Hi! > > > Index: usb-2.6/drivers/base/power/sysfs.c > > =================================================================== > > --- usb-2.6.orig/drivers/base/power/sysfs.c > > +++ usb-2.6/drivers/base/power/sysfs.c > > @@ -3,12 +3,21 @@ > > */ > > > > #include > > +#include > > #include "power.h" > > > > +const char pm_name_ON[] = "on"; > > +const char pm_name_SUSPEND[] = "suspend"; > > +EXPORT_SYMBOL_GPL(pm_name_ON); > > +EXPORT_SYMBOL_GPL(pm_name_SUSPEND); > > + > > Oops, I believe we still want non-GPL drivers to work correctly with > our kernel... For new interfaces? No, I do not think so. Remember, everything in the driver model is marked this way today. thanks, greg k-h --===============8000834143907225== Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline --===============8000834143907225==--