Thread (3 messages) 3 messages, 3 authors, 2014-06-11

spi_board_info and module automatic load

flat view

From: Greg KH <hidden>
Date: 2014-06-10 21:29:34

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?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help