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: 7092601 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 C22A1BEEC1 for ; Fri, 28 Aug 2015 16:44:10 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0162F20994 for ; Fri, 28 Aug 2015 16:44:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1F6E520859 for ; Fri, 28 Aug 2015 16:44:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752770AbbH1QoH (ORCPT ); Fri, 28 Aug 2015 12:44:07 -0400 Received: from mail-wi0-f179.google.com ([209.85.212.179]:37786 "EHLO mail-wi0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752664AbbH1QoH (ORCPT ); Fri, 28 Aug 2015 12:44:07 -0400 Received: by wicfv10 with SMTP id fv10so17155224wic.0; 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 Cc: Jamie Iles , Herbert Xu , "David S. Miller" , linux-arm-kernel@lists.infradead.org, linux-crypto@vger.kernel.org, Javier Martinez Canillas 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) 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/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,