From patchwork Fri Aug 28 16:44:03 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: 7092641 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 522189F46A for ; Fri, 28 Aug 2015 16:47:25 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7C149208C7 for ; Fri, 28 Aug 2015 16:47:24 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id BD5692089E for ; Fri, 28 Aug 2015 16:47:23 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZVMlT-00016y-Cu; Fri, 28 Aug 2015 16:44:31 +0000 Received: from mail-wi0-x233.google.com ([2a00:1450:400c:c05::233]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZVMlO-00012Q-Vl for linux-arm-kernel@lists.infradead.org; Fri, 28 Aug 2015 16:44:28 +0000 Received: by wicne3 with SMTP id ne3so24249799wic.0 for ; Fri, 28 Aug 2015 09:44:05 -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=6Tn4p+0WS0MUeF4iH+zRV0wM++eqv6jHNXBSQG/p0zQ=; b=L2Wt/IT+uPP2DjPhbXEru1wV/jh4ECIYRTo3vR9QNHCfDMD4ZGcpwVY/glzlBEUIpT CNsN4p2+a0Ek4desspr+nInwBzG4An/SEPq1CSXJU0tv7TM7fUWi53zfO0OES+beNIhX zdeQXY7e3+dGgstCZ36ZBIwcMF+UaUuBbIuPluVtWaa8k0ZIY+U9WQ2Y7P59NfPUBlQw Ar/bNrGg6sESHNAMFzyUaSJnBgMbVQtvWlJXXdxBdgO8bmkEEpdTaPTxBpmAOevf9dY1 zCYsDhqal9/BoTHY0gdQUdgjetynHbYD8bcGtHZIrx9Mai0pN32tMbWC+MxuLF505kYg H90w== X-Received: by 10.180.9.75 with SMTP id x11mr5299701wia.80.1440780245123; Fri, 28 Aug 2015 09:44:05 -0700 (PDT) Received: from localhost (goodgumbo.baconseed.org. [94.23.38.65]) by smtp.gmail.com with ESMTPSA id wx9sm8836751wjb.6.2015.08.28.09.44.04 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 28 Aug 2015 09:44:04 -0700 (PDT) Date: Fri, 28 Aug 2015 18:44:03 +0200 From: Luis de Bethencourt To: linux-kernel@vger.kernel.org Subject: [PATCH 2/3] crypto: picoxcell: Fix module autoload for OF platform driver Message-ID: <20150828164403.GA5083@goodgumbo.baconseed.org> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150828_094427_179518_2D15580B X-CRM114-Status: GOOD ( 12.72 ) X-Spam-Score: -2.5 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Herbert Xu , Javier Martinez Canillas , linux-crypto@vger.kernel.org, Jamie Iles , "David S. Miller" , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,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/picoxcell_crypto.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/crypto/picoxcell_crypto.c b/drivers/crypto/picoxcell_crypto.c index 4f56f36..b6ec2a4 100644 --- a/drivers/crypto/picoxcell_crypto.c +++ b/drivers/crypto/picoxcell_crypto.c @@ -1673,6 +1673,7 @@ static const struct of_device_id spacc_of_id_table[] = { { .compatible = "picochip,spacc-l2" }, {} }; +MODULE_DEVICE_TABLE(of, spacc_of_id_table); #endif /* CONFIG_OF */ static bool spacc_is_compatible(struct platform_device *pdev,