Re: [PATCH/RFC 1/4]device core changes

From: Li Shaohua
Date: Tue Nov 09 2004 - 21:01:28 EST


On Wed, 2004-11-10 at 09:24, Greg KH wrote:
> > >
> > > Hm, hopefully Pat will chime in about what would be best for this, as he
> > > created the platform_notify interface.
> > Ok, an updated version. Use 'platform_notify', but add a 'type' in
> > 'struct bus_type'. Using bus_type->name to identify the bus type is
> > pretty much ugly and slow.
>
> No, no "type" for a bus, sorry.
>
> Maybe your other patches weren't so bad... If we implement them, can we
> drop the platform notify stuff?
Currently only ARM use 'platform_notify', and we can easily convert it
to use per-bus 'platform_bind'. One concern of per-bus 'platform_bind'
is we will have many '#ifdef ..' if many platforms implement their
per-bus 'platform_bind'.

Thanks,
Shaohua

-
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/