Message ID | 20170420135431.12585-5-zajec5@gmail.com |
---|---|
State | Superseded |
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 3w81GC5fNqz9ryT for <incoming@patchwork.ozlabs.org>; Fri, 21 Apr 2017 00:19:31 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="hO8yFOC9"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="WM5LQizQ"; 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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=NddQ0ttB9cT/9gWF9Kbh7ZMTqWhMX2ai4d72no+Y5Es=; b=hO8yFOC9ZTIvMU uENhsTgIBKDDo3Mn5wy3sXEEz/3oUcMU2AlStW5mOHvz8V5m4KA57Peg3pnUyFcybuc4CL2Hq8WCy 7ciTw3xvR+yE3wun2iWBikgzf2qIGj09W27g14bE+z0IxI9wXKKztxNxkzbRu4HAWoCAv1rKIvSid VFhLNWA6DiwrP7MbX95QZdPy8+uL95TKjvoMuQDaxucD7KqnImBJXsen2wFhuVKyVNpx3v85WyY8G fwTXxfOVnV2RDKMeh5fR10Qunb/mrs9VuqjywF5nny/ppsQDBsFxLdVmFIkiRfRo+JaZgBgWS+SDX zgRcs3AcWEx41iGJYIIA==; 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 1d1Cvh-0006IO-Md; Thu, 20 Apr 2017 14:19:29 +0000 Received: from mail-lf0-x241.google.com ([2a00:1450:4010:c07::241]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1d1CYI-00055c-3m for linux-mtd@lists.infradead.org; Thu, 20 Apr 2017 13:55:21 +0000 Received: by mail-lf0-x241.google.com with SMTP id i3so5906753lfh.2 for <linux-mtd@lists.infradead.org>; Thu, 20 Apr 2017 06:55:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=rC6NSOtrcar0YVfgE3dcVM3yGxt11Ub5/azDeihS4ZU=; b=WM5LQizQ910zvYpzRqiqFPTNDgVA7bQt2d45zcBOSzOYP3qLx/HuO5OeW18upy2Z57 W1Plh9+YUwuGM1AzAfdre1/hgiFdYVTatRj+7U49jqkJ3Gz4sZnvb5zh7pR5IFMua7y1 8HgwbKVHqK48J1LJ6Jf0YqV78Nh1W7igz9iRGcs2pHKTEJYrNEYHLHow780myirPIJzz E+4UlU0Z8Js4zmWZxBf76XFmj0rnknVRXUM/9BjRyQCLpj3/VCBjgmdaDVGuTUwWzVRC l48/r35tIpR9v+qC7SXU50batkub04TLIQPdUvRCtE2WydXjjTRdapFLyRc4QLvh7WxX ErfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=rC6NSOtrcar0YVfgE3dcVM3yGxt11Ub5/azDeihS4ZU=; b=NNuytrrTZrXdnPSqj26nSQckr51c4o7S14aP+B9V4JONOufzhdXjrtsUqK2YuM3PJM iawQVWDMBBSba2zSJAp9lUl/csKrckd985aqcsG7brAVFrzisvwteDFWRDDNxHlAdW2X eCaU5+OK97i4Z7zm8In88+Z3ITaUo0v0k+nfvMQ1cIQXBvau10Fmj+D7Gn4ZPO9RoRP1 Vd9EFAdKEFY/XWFLWwDxdrhVkiZq2DHbJncW5tTJLKD8+8p15YtNeAooJRZiMoyIxaaa Ikzzq0SK3ZGPHSmpJZFMsFHJ93Vy1pLOH7hW698hFfzKY48cZUNbXb0tvRjmSh+NbFX7 UKxQ== X-Gm-Message-State: AN3rC/5ze4Z/NPsxWXDoToD43wRHz+9Yz/2CCH2qjhIO0DG7addCXvu5 7tQzzuQFufyqhA== X-Received: by 10.25.216.22 with SMTP id p22mr2910161lfg.45.1492696500159; Thu, 20 Apr 2017 06:55:00 -0700 (PDT) Received: from linux-samsung.lan (ip-194-187-74-233.konfederacka.maverick.com.pl. [194.187.74.233]) by smtp.gmail.com with ESMTPSA id s70sm1066337lfe.32.2017.04.20.06.54.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 20 Apr 2017 06:54:59 -0700 (PDT) From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <zajec5@gmail.com> To: David Woodhouse <dwmw2@infradead.org>, Brian Norris <computersforpeace@gmail.com>, Boris Brezillon <boris.brezillon@free-electrons.com>, Marek Vasut <marek.vasut@gmail.com>, Richard Weinberger <richard@nod.at>, Cyrille Pitchen <cyrille.pitchen@atmel.com> Subject: [PATCH 4/4] mtd: ofpart: add of_match_table with "fixed-partitions" Date: Thu, 20 Apr 2017 15:54:31 +0200 Message-Id: <20170420135431.12585-5-zajec5@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170420135431.12585-1-zajec5@gmail.com> References: <20170420135431.12585-1-zajec5@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170420_065518_618874_D0E85FC8 X-CRM114-Status: GOOD ( 11.17 ) X-Spam-Score: -2.5 (--) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-2.5 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [2a00:1450:4010:c07:0:0:0:241 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (zajec5[at]gmail.com) 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit (zajec5[at]gmail.com) -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: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>, linux-mtd@lists.infradead.org Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 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/ofpart.c b/drivers/mtd/ofpart.c index 2861c7079d7b..fb6f3df40e94 100644 --- a/drivers/mtd/ofpart.c +++ b/drivers/mtd/ofpart.c @@ -140,9 +140,16 @@ static int parse_ofpart_partitions(struct mtd_info *master, return ret; } +static const struct of_device_id parse_ofpart_match_table[] = { + { .compatible = "fixed-partitions" }, + {}, +}; +MODULE_DEVICE_TABLE(of, parse_ofpart_match_table); + static struct mtd_part_parser ofpart_parser = { .parse_fn = parse_ofpart_partitions, .name = "ofpart", + .of_match_table = parse_ofpart_match_table, }; static int parse_ofoldpart_partitions(struct mtd_info *master,