[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20161014.101237.1082985188375412438.davem@davemloft.net>
Date: Fri, 14 Oct 2016 10:12:37 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: javier@....samsung.com
Cc: linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
qiang.zhao@....com
Subject: Re: [PATCH 1/2] net: wan: slic_ds26522: add SPI device ID table to
fix module autoload
From: Javier Martinez Canillas <javier@....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@....samsung.com>
Applied.
Powered by blists - more mailing lists