From patchwork Fri Aug 28 16:43:24 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luis de Bethencourt X-Patchwork-Id: 7092581 X-Patchwork-Delegate: herbert@gondor.apana.org.au Return-Path: X-Original-To: patchwork-linux-crypto@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 2759CBEEC1 for ; Fri, 28 Aug 2015 16:43:31 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4A8E420994 for ; Fri, 28 Aug 2015 16:43:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4B86420859 for ; Fri, 28 Aug 2015 16:43:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752667AbbH1Qn2 (ORCPT ); Fri, 28 Aug 2015 12:43:28 -0400 Received: from mail-wi0-f174.google.com ([209.85.212.174]:33134 "EHLO mail-wi0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752664AbbH1Qn1 (ORCPT ); Fri, 28 Aug 2015 12:43:27 -0400 Received: by wiae7 with SMTP id e7so2162619wia.0; Fri, 28 Aug 2015 09:43:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:mime-version:content-type :content-disposition:user-agent; bh=3bEwqdpe8B1cRg3Fy5vuxYe5E7p36r43C+EBfCF3QbE=; b=ZRpWCFgLACaMNHPkZNDr8290HGCVm5apIg9CqjbuerJ9XzT2U2Yt7dZ28MuuAZn5k1 Xh/VKtRbtiL+kKkEI/H/nZ+6ZUWqg5Zwa00xpjxY+YFmJmox8JTofb4szuEyW4sHxbTg avqhlsq91iEphVDSz2J9MNi0JwJzX7vuJpMhEXIm6ulfQTzVH4rMJD8WTj8lBio9qC9M MfaiZfY3DylDym+5f6j6JYI5aeS5FtH7VA0kd6yefTxNl0wecWoTMjIGynCff76tcupG EnGlsNKQBt8ThYGcfJaU+y0e2Wxs94TbRLDBZz5Q/OKk/n4FOMFygLucZluKQ3SoImx2 9Zeg== X-Received: by 10.194.89.5 with SMTP id bk5mr12784985wjb.144.1440780206205; Fri, 28 Aug 2015 09:43:26 -0700 (PDT) Received: from localhost (goodgumbo.baconseed.org. [94.23.38.65]) by smtp.gmail.com with ESMTPSA id ho10sm8785880wjb.39.2015.08.28.09.43.25 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 28 Aug 2015 09:43:25 -0700 (PDT) Date: Fri, 28 Aug 2015 18:43:24 +0200 From: Luis de Bethencourt To: linux-kernel@vger.kernel.org Cc: Herbert Xu , "David S. Miller" , Wolfram Sang , Dmitry Torokhov , linux-crypto@vger.kernel.org, Javier Martinez Canillas Subject: [PATCH 1/3] crypto: amcc: Fix module autoload for OF platform driver Message-ID: <20150828164324.GA5032@goodgumbo.baconseed.org> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org X-Spam-Status: No, score=-8.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This platform driver has a OF device ID table but the OF module alias information is not created so module autoloading won't work. Signed-off-by: Luis de Bethencourt --- drivers/crypto/amcc/crypto4xx_core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/crypto/amcc/crypto4xx_core.c b/drivers/crypto/amcc/crypto4xx_core.c index 3b28e8c..3cdc709 100644 --- a/drivers/crypto/amcc/crypto4xx_core.c +++ b/drivers/crypto/amcc/crypto4xx_core.c @@ -1284,6 +1284,7 @@ static const struct of_device_id crypto4xx_match[] = { { .compatible = "amcc,ppc4xx-crypto",}, { }, }; +MODULE_DEVICE_TABLE(of, crypto4xx_match); static struct platform_driver crypto4xx_driver = { .driver = {