Messages in this thread | | | Date | Thu, 25 Sep 2008 03:13:58 -0700 | From | "Kay Sievers" <> | Subject | Re: [PATCH] Create PNP device attributes via dev_attrs field of struct device |
| |
On Wed, Sep 24, 2008 at 12:37, Drew Moseley <dmoseley@mvista.com> wrote: > Kay Sievers wrote: >> Yeah, it looks weird to mangle the bus_type values from a device >> routine, and set the same value again and again with every device >> creation. Just declare the array non-static, if moving the code around >> between files does not allow a static declaration. > > Updated patch.
> Signed-off-by: Drew Moseley <dmoseley@mvista.com> > Index: linux-2.6.21/drivers/pnp/base.h
This seems not to apply. Oh, you are patching a 1.5 years old kernel? :) Care to redo this for a recent one?
Thanks, Kay
| |