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

Li Shaohua
2004-11-10T01:45:37Z

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'.