Re: [PATCH] Create PNP device attributes via dev_attrs field of struct device

From: Kay Sievers
Date: Thu Sep 25 2008 - 06:14:21 EST


On Wed, Sep 24, 2008 at 12:37, Drew Moseley <dmoseley@xxxxxxxxxx> 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@xxxxxxxxxx>
> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/