Message ID | 20170523004317.16908-5-chris.packham@alliedtelesis.co.nz |
---|---|
State | Accepted |
Commit | 2f071ff175ea221710d583222b55f915d90901f0 |
Headers | show
Return-Path: <linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3wWxvf3m8sz9rxl for <incoming@patchwork.ozlabs.org>; Tue, 23 May 2017 10:57:34 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="gXGot2QB"; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=alliedtelesis.co.nz header.i=@alliedtelesis.co.nz header.b="bD9FOmBc"; dkim-atps=neutral DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=MpQVPvElDUJiTxO1napcuCgyAXuRgVpukww1UwSqEYo=; b=gXGot2QBpxAtIt4eibeHhMtg2H bx//r223BWv89ctO6tCPCRvIUm+dgorXrJ7wzOsHCW9wSWA5WfLmguGskTBfmZXWx0rvG86Tca0P1 y8zQu7zpuYb+K1+gaHLGMp/NpcD6XFzlvkv7axHnOKfdAwRUB7Ko/l0eYre68F1Hmeq3UT9kkCCR/ rqphq5h+JcS2Daacd0IBoq5SB0KkbIgE7SS0EelYebc2aSR/SzTeoqIqkW/kpl81g9E1xMlc7wg8N Cx+YCtS3p8vBI5U5o4VklFdGRVDDxTAe+PdcvZ/nz0NxR2KgPyJ0pHY6Oge8bWRkfR7YXCdiGXW2a o2jsQy1A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dCy8b-0002AF-IK; Tue, 23 May 2017 00:57:25 +0000 Received: from gate2.alliedtelesis.co.nz ([202.36.163.20]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dCxvO-0000tJ-If for linux-mtd@lists.infradead.org; Tue, 23 May 2017 00:43:50 +0000 Received: from mmarshal3.atlnz.lc (mmarshal3.atlnz.lc [10.32.18.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by gate2.alliedtelesis.co.nz (Postfix) with ESMTPS id 5C7A78448E; Tue, 23 May 2017 12:43:20 +1200 (NZST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alliedtelesis.co.nz; s=mail; t=1495500200; bh=owheWCGEEY4fMdf22RP+VtwEIthBF65LaOaZaBavghs=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=bD9FOmBc5Wl7xJfziLeDJ9v6HnJD5SjWhLxRzuP4AApOs1l4nUBrgfZcWF/Dtvmxj 6YhEPZ1Npw9fJgBrGscobfJd+ylnuN3TCYomPRBRLLD2unyM5tJ2K7Z5eHmYQTNshM Cwxu0tiXDgUBhwqBLsp3V0V9/5CeHJ9MpZ4o22tY= Received: from smtp (Not Verified[10.32.16.33]) by mmarshal3.atlnz.lc with Trustwave SEG (v7, 5, 7, 9061) id <B592385a70004>; Tue, 23 May 2017 12:43:19 +1200 Received: from chrisp-dl.atlnz.lc (chrisp-dl.ws.atlnz.lc [10.33.22.30]) by smtp (Postfix) with ESMTP id AD6E013F242; Tue, 23 May 2017 12:43:21 +1200 (NZST) Received: by chrisp-dl.atlnz.lc (Postfix, from userid 1030) id 9AB541E1D4A; Tue, 23 May 2017 12:43:19 +1200 (NZST) From: Chris Packham <chris.packham@alliedtelesis.co.nz> To: linux-mtd@lists.infradead.org, andrew@lunn.ch, computersforpeace@gmail.com, dwmw2@infradead.org, boris.brezillon@free-electrons.com, linux-kernel@vger.kernel.org Subject: [PATCH v3 4/5] mtd: mchp23k256: add partitioning support Date: Tue, 23 May 2017 12:43:16 +1200 Message-Id: <20170523004317.16908-5-chris.packham@alliedtelesis.co.nz> X-Mailer: git-send-email 2.11.0.24.ge6920cf In-Reply-To: <20170523004317.16908-1-chris.packham@alliedtelesis.co.nz> References: <20170523004317.16908-1-chris.packham@alliedtelesis.co.nz> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170522_174347_063958_08D21F50 X-CRM114-Status: UNSURE ( 9.23 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.0 (--) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-2.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 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 X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Linux MTD discussion mailing list <linux-mtd.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-mtd>, <mailto:linux-mtd-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-mtd/> List-Post: <mailto:linux-mtd@lists.infradead.org> List-Help: <mailto:linux-mtd-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-mtd>, <mailto:linux-mtd-request@lists.infradead.org?subject=subscribe> Cc: Cyrille Pitchen <cyrille.pitchen@wedev4u.fr>, Marek Vasut <marek.vasut@gmail.com>, Chris Packham <chris.packham@alliedtelesis.co.nz>, Richard Weinberger <richard@nod.at> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-mtd" <linux-mtd-bounces@lists.infradead.org> Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org |
diff --git a/drivers/mtd/devices/mchp23k256.c b/drivers/mtd/devices/mchp23k256.c index 2542f5b8b63f..3e5feb454644 100644 --- a/drivers/mtd/devices/mchp23k256.c +++ b/drivers/mtd/devices/mchp23k256.c @@ -143,6 +143,7 @@ static int mchp23k256_probe(struct spi_device *spi) data = dev_get_platdata(&spi->dev); + mtd_set_of_node(&flash->mtd, spi->dev.of_node); flash->mtd.dev.parent = &spi->dev; flash->mtd.type = MTD_RAM; flash->mtd.flags = MTD_CAP_RAM;