Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1574667
| Path | csiph.com!weretis.net!feeder4.news.weretis.net!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Pawel Moll <pawel.moll@arm.com> |
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] bus: arm-ccn: Fix module autoload |
| Date | Mon, 06 Feb 2017 14:10:02 +0100 |
| Message-ID | <t7Rdo-5m6-29@gated-at.bofh.it> (permalink) |
| References | <sVaxc-7dZ-41@gated-at.bofh.it> <t6TKi-7ml-7@gated-at.bofh.it> |
| X-Original-To | Javier Martinez Canillas <javier@osg.samsung.com>, linux-kernel@vger.kernel.org |
| Content-Type | text/plain; charset="UTF-8" |
| X-Mailer | Evolution 3.18.5.2-0ubuntu3.1 |
| MIME-Version | 1.0 |
| Content-Transfer-Encoding | 8bit |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 34 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | Sebastian Andrzej Siewior <bigeasy@linutronix.de>, Suzuki K Poulose <suzuki.poulose@arm.com>, Thomas Gleixner <tglx@linutronix.de>, Mark Rutland <mark.rutland@arm.com> |
| X-Original-Date | Mon, 06 Feb 2017 13:05:25 +0000 |
| X-Original-Message-ID | <1486386325.2929.23.camel@arm.com> |
| X-Original-References | <1483362149-3771-1-git-send-email-javier@osg.samsung.com> <03b73d0e-d2f6-f06a-82c7-cece8c8112b8@osg.samsung.com> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1574667 |
Show key headers only | View raw
On Fri, 2017-02-03 at 18:31 -0300, Javier Martinez Canillas wrote: > On 01/02/2017 10:02 AM, Javier Martinez Canillas wrote: > > > > If the driver is built as a module, autoload won't work because the module > > alias information is not filled. So user-space can't match the registered > > device with the corresponding module. > > > > Export the module alias information using the MODULE_DEVICE_TABLE() > > macro. > > > > Before this patch: > > > > $ modinfo drivers/bus/arm-ccn.ko | grep alias > > $ > > > > After this patch: > > > > $ modinfo drivers/bus/arm-ccn.ko | grep alias > > alias: of:N*T*Carm,ccn-504C* > > alias: of:N*T*Carm,ccn-504 > > > > Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com> > > --- > Any comments about this patch? Sorry, I clearly missed that in my mailbox at the beginning of the year. It all makes sense to me. I'll try to test it out soon and will make sure to include it next time I send out CCN update. Thanks! Paweł
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: [PATCH] bus: arm-ccn: Fix module autoload Javier Martinez Canillas <javier@osg.samsung.com> - 2017-02-03 22:40 +0100
Re: [PATCH] bus: arm-ccn: Fix module autoload Pawel Moll <pawel.moll@arm.com> - 2017-02-06 14:10 +0100
Re: [PATCH] bus: arm-ccn: Fix module autoload Javier Martinez Canillas <javier@osg.samsung.com> - 2017-02-09 16:10 +0100
csiph-web