On Tue, May 08, 2007 at 03:01:20AM -0700, [EMAIL PROTECTED] wrote: > > The patch titled > git-battery-fix > has been added to the -mm tree. Its filename is > git-battery-fix.patch
Andrew, much thanks for fixing that. That error triggered by some refactors in drivers/base/... I suppose I have to setup -mm tree in addition to Linus', to test -mm builds from time to time for the purpose of catching these changes myself. Though, this error happened indeed because nobody cares about find_bus function nowdays... I want ask Greg KH and Evgeniy Polyakov: could you together settle preferred way of accessing bus types? Should we really use find_bus/bus_find, or Evgeniy would just export w1 bus type? In later case, I'll remove un-"if 0" find_bus patch, and will prepare another which will export w1 bus type. I do not have any preference, both solutions will work. Thanks, > *** Remember to use Documentation/SubmitChecklist when testing your code *** > > See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find > out what to do about this > > ------------------------------------------------------ > Subject: git-battery-fix > From: Andrew Morton <[EMAIL PROTECTED]> > > Cc: Anton Vorontsov <[EMAIL PROTECTED]> > Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> > --- > > drivers/base/bus.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff -puN drivers/base/bus.c~git-battery-fix drivers/base/bus.c > --- a/drivers/base/bus.c~git-battery-fix > +++ a/drivers/base/bus.c > @@ -740,7 +740,7 @@ void put_bus(struct bus_type * bus) > > struct bus_type * find_bus(char * name) > { > - struct kobject * k = kset_find_obj(&bus_subsys.kset, name); > + struct kobject * k = kset_find_obj(&bus_subsys, name); > return k ? to_bus(k) : NULL; > } > EXPORT_SYMBOL_GPL(find_bus); > _ > -- Anton Vorontsov email: [EMAIL PROTECTED] backup email: [EMAIL PROTECTED] irc://irc.freenode.org/bd2 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/