I'm working on an SPI procol driver on the MPC52XX.
I spend some time in trying to find the best location for calling
spi_register_board_info () (which basically registers the relations between
protocol drivers and the SPI chip selects).

I wish to call this function from my copy of the
arch/ppc/platforms/Lite5200.c file  since these relations are
board-specific, however I found that placing the call in any of these
functions (eg. lite5200_setup_arch) results in an -ENOMEM from the
spi_register_board_info () call.

Now I'm calling spi_register_board_info () from the spi controller driver
which is soo ugly.

Thanks in advance,

Henk.
_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

Reply via email to