All of lore.kernel.org
 help / color / mirror / Atom feed
From: danielhilst@gmail.com (Daniel Hilst Selli)
To: kernelnewbies@lists.kernelnewbies.org
Subject: spi_board_info and module automatic load
Date: Tue, 10 Jun 2014 15:57:27 -0300	[thread overview]
Message-ID: <53975517.9060403@gmail.com> (raw)

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?

Cheers

             reply	other threads:[~2014-06-10 18:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-10 18:57 Daniel Hilst Selli [this message]
2014-06-10 21:29 ` spi_board_info and module automatic load Greg KH
2014-06-11  3:53   ` Varka Bhadram

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53975517.9060403@gmail.com \
    --to=danielhilst@gmail.com \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.