Hi, On Thu, May 19, 2011 at 03:49:05PM +0300, Luciano Coelho wrote: > > this is the re-factor I was talking to you > > about. Please have a look and give your > > comments. > > > > It probably won't work as is, I compile > > tested only, but it shows the idea. > > This looks very good! I think we should do something like this to avoid > the code that is duplicated in the bus modules. > > But, as I already mentioned briefly on IRC, there is a problem with the > way you changed the platform data structure, because it will break > compat-wireless. The actual memory and data that is used by the > platform data is in the board components and not part of the wireless > subsystem. With compat-wireless, we need to make sure that new stuff > works with older kernels. In your patches you modify the platform data > structure, so when we run an old kernel with new compat-wireless, things > will break. > > We already found a similar bug due to a previous change in the platform > data structure, so I don't want this to happen again. So for now, I'll > keep these patches aside, but as soon as we find a good solution, I'll > definitely use your ideas here (or ask you to rebase :P). > > I'll probably apply some of the patches that are not related to the > platform data change. I'll respond to those specific patches > separately. ok good. I have stated my POV WRT compatibility layers for in-tree drivers on a separate thread. In summary, I think those shouldn't exist at all :-) Just let me know if you need anything ;-) -- balbi
Attachment:
signature.asc
Description: Digital signature