[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20161114030541.GI3000@localhost>
Date: Mon, 14 Nov 2016 08:35:41 +0530
From: Vinod Koul <vinod.koul@...el.com>
To: Javier Martinez Canillas <javier@....samsung.com>
Cc: linux-kernel@...r.kernel.org,
Dan Williams <dan.j.williams@...el.com>,
dmaengine@...r.kernel.org
Subject: Re: [PATCH] dmaengine: fsl_raid: Fix module autoload
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
Powered by blists - more mailing lists