spi_board_info and module automatic load

Greg KH greg at kroah.com
Tue Jun 10 17:29:34 EDT 2014


On Tue, Jun 10, 2014 at 03:57:27PM -0300, Daniel Hilst Selli wrote:
> I register a spi_board_info on my board-*.c file as this
> 
> http://pastebin.com/nUGuvt71
> 
> 
> Then create my module named mydevice.ko
> 
> Is this enought to get the module loaded automatically or I'm missing 
> something?

I'm guessing something is missing, otherwise you wouldn't be asking us,
right?

No MODULE_DEVICE_TABLE() line?




More information about the Kernelnewbies mailing list