From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnd Bergmann Subject: Re: [PATCH] crypto: picoxcell - Fix module autoload for non-OF registration Date: Mon, 02 Jan 2017 17:05:32 +0100 Message-ID: <2761495.aqgObxUbGB@wuerfel> References: <1483371482-4956-1-git-send-email-javier@osg.samsung.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: Javier Martinez Canillas , linux-kernel@vger.kernel.org, Herbert Xu , linux-crypto@vger.kernel.org, Jamie Iles , "David S. Miller" To: linux-arm-kernel@lists.infradead.org Return-path: Received: from mout.kundenserver.de ([212.227.17.24]:50289 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755641AbdABQGW (ORCPT ); Mon, 2 Jan 2017 11:06:22 -0500 In-Reply-To: <1483371482-4956-1-git-send-email-javier@osg.samsung.com> Sender: linux-crypto-owner@vger.kernel.org List-ID: On Monday, January 2, 2017 12:38:02 PM CET 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 if the device isn't registered via OF. > > Export the module alias information using the MODULE_DEVICE_TABLE() macro. I think we can just remove the table, as the platform only supports booting through DT anyway. Arnd