From patchwork Thu Sep 17 22:14:02 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: 519048 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2001:1868:205::9]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 17CF0140273 for ; Fri, 18 Sep 2015 08:15:58 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=nfUoqk/e; dkim-atps=neutral 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 1ZchRk-0006CI-8l; Thu, 17 Sep 2015 22:14:28 +0000 Received: from mail-wi0-x22d.google.com ([2a00:1450:400c:c05::22d]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZchRh-0005sT-BF for linux-mtd@lists.infradead.org; Thu, 17 Sep 2015 22:14:26 +0000 Received: by wiclk2 with SMTP id lk2so41834613wic.0 for ; Thu, 17 Sep 2015 15:14:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:date:to:cc:subject:message-id:mime-version:content-type :content-disposition:user-agent; bh=KyXaZg2/Ry5eA9Bncvuo2PRnskfiGSGoKGzmZ6eBdCM=; b=nfUoqk/eaZrUHgbruKfOIcnWa0tGi4jE/laqn96XV5CYKbJWqtakrTzLeIp80iWMay fRfn8Nh8Pb78Ga6luQWh0MwLbUqXMyc2csjS+KqdTBxLV29P3NfNQUt4JqdVR9UxKuEI k2zx5XvKuxWnFhpMkuvTIhSqD2rcub9sNg/0EEtT9SHKAQZRdI6ArZrrsQNfkD7fk7lj qRs36+DPtjjosI+E4QNbZnzh4kEVv3zmz07mpRywyB0G1rJY1vEFHj5NLQyn6Yb/wdg2 goX8HvW8kPJerWZGDPkT4fIiagrfwUgIidDtkWPDoRvPx2PAfNPA4O5mGjeZOEUKLGTO CStg== X-Received: by 10.180.106.196 with SMTP id gw4mr34930793wib.63.1442528044100; Thu, 17 Sep 2015 15:14:04 -0700 (PDT) Received: from localhost (goodgumbo.baconseed.org. [94.23.38.65]) by smtp.gmail.com with ESMTPSA id gv1sm12232723wib.15.2015.09.17.15.14.03 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 17 Sep 2015 15:14:03 -0700 (PDT) From: Luis de Bethencourt X-Google-Original-From: Luis de Bethencourt Date: Fri, 18 Sep 2015 00:14:02 +0200 To: linux-kernel@vger.kernel.org Subject: [PATCH 5/5] mtd: orion_nand: Fix module autoload for OF platform driver Message-ID: <20150917221402.GA9312@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-20150917_151425_583016_6D2253E7 X-CRM114-Status: GOOD ( 13.62 ) X-Spam-Score: -2.6 (--) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-2.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [2a00:1450:400c:c05:0:0:0:22d listed in] [list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (bethencourt[at]gmail.com) 0.0 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.0 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom freemail headers are different X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Andrew Lunn , Wolfram Sang , Michael Opdenacker , Jingoo Han , linux-mtd@lists.infradead.org, Brian Norris , David Woodhouse Sender: "linux-mtd" Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org 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 Acked-by: Andrew Lunn --- drivers/mtd/nand/orion_nand.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mtd/nand/orion_nand.c b/drivers/mtd/nand/orion_nand.c index c3c6d30..64785f4 100644 --- a/drivers/mtd/nand/orion_nand.c +++ b/drivers/mtd/nand/orion_nand.c @@ -201,6 +201,7 @@ static const struct of_device_id orion_nand_of_match_table[] = { { .compatible = "marvell,orion-nand", }, {}, }; +MODULE_DEVICE_TABLE(of, orion_nand_of_match_table); #endif static struct platform_driver orion_nand_driver = {