From: greg@kroah.com (Greg KH) Date: Tue, 10 Jun 2014 14:29:34 -0700 Subject: spi_board_info and module automatic load In-Reply-To: <53975517.9060403@gmail.com> References: <53975517.9060403@gmail.com> Message-ID: <20140610212934.GB11191@kroah.com> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org 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?