From: David Miller <davem@davemloft.net>
To: javier@osg.samsung.com
Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org, qiang.zhao@nxp.com
Subject: Re: [PATCH 1/2] net: wan: slic_ds26522: add SPI device ID table to fix module autoload
Date: Fri, 14 Oct 2016 10:12:37 -0400 (EDT) [thread overview]
Message-ID: <20161014.101237.1082985188375412438.davem@davemloft.net> (raw)
In-Reply-To: <1476298541-7354-1-git-send-email-javier@osg.samsung.com>
From: Javier Martinez Canillas <javier@osg.samsung.com>
Date: Wed, 12 Oct 2016 15:55:40 -0300
> If the driver is built as a module, module alias information isn't filled
> so the module won't be autoloaded. Add a SPI device ID table and use the
> MODULE_DEVICE_TABLE() macro so the information is exported in the module.
>
> Before this patch:
>
> $ modinfo drivers/net/wan/slic_ds26522.ko | grep alias
> $
>
> After this patch:
>
> $ modinfo drivers/net/wan/slic_ds26522.ko | grep alias
> alias: spi:ds26522
>
> Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Applied.
prev parent reply other threads:[~2016-10-14 14:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-12 18:55 [PATCH 1/2] net: wan: slic_ds26522: add SPI device ID table to fix module autoload Javier Martinez Canillas
2016-10-12 18:55 ` [PATCH 2/2] net: wan: slic_ds26522: Export OF module alias information Javier Martinez Canillas
2016-10-14 14:12 ` David Miller
2016-10-14 14:12 ` David Miller [this message]
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=20161014.101237.1082985188375412438.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=javier@osg.samsung.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=qiang.zhao@nxp.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).