linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Vinod Koul <vinod.koul@intel.com>
To: Javier Martinez Canillas <javier@osg.samsung.com>
Cc: linux-kernel@vger.kernel.org,
	Dan Williams <dan.j.williams@intel.com>,
	dmaengine@vger.kernel.org
Subject: Re: [PATCH] dmaengine: fsl_raid: Fix module autoload
Date: Mon, 14 Nov 2016 08:35:41 +0530	[thread overview]
Message-ID: <20161114030541.GI3000@localhost> (raw)
In-Reply-To: <1476909154-6305-1-git-send-email-javier@osg.samsung.com>

On Wed, Oct 19, 2016 at 05:32:33PM -0300, 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/dma/fsl_raid.ko | grep alias
> $
> 
> After this patch:
> 
> $ modinfo drivers/dma/fsl_raid.ko | grep alias
> alias:          of:N*T*Cfsl,raideng-v1.0C*
> alias:          of:N*T*Cfsl,raideng-v1.0

Applied, thanks

-- 
~Vinod

      reply	other threads:[~2016-11-14  2:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-19 20:32 [PATCH] dmaengine: fsl_raid: Fix module autoload Javier Martinez Canillas
2016-11-14  3:05 ` Vinod Koul [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=20161114030541.GI3000@localhost \
    --to=vinod.koul@intel.com \
    --cc=dan.j.williams@intel.com \
    --cc=dmaengine@vger.kernel.org \
    --cc=javier@osg.samsung.com \
    --cc=linux-kernel@vger.kernel.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 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).