[sodaville] [PATCH 1/9] spi/pxa2xx: don't use subys initcall for driver init

Sebastian Andrzej Siewior bigeasy at linutronix.de
Fri Nov 26 05:50:28 EST 2010


* Russell King - ARM Linux | 2010-11-25 23:54:15 [+0000]:

>Why should the PXA code change when you haven't explained _why_ you want
>to change the SPI driver to conform to your idea?

The problem was, that the platform driver never got probed after I
registered the PCI driver. For that reason I made the patch attached. It
got lost while moving the tree forward and I did not notice it earlier.
While at it, I changed the subsys_init to module_init because it looked
wrong. At this time I was also thinking about using one module for the
platform and PCI code but never got to it.



More information about the linux-arm-kernel mailing list