From patchwork Wed May 31 22:40:52 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrea Adami X-Patchwork-Id: 9758391 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 69C5E602BF for ; Wed, 31 May 2017 22:44:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5A1A228453 for ; Wed, 31 May 2017 22:44:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4E51D284D2; Wed, 31 May 2017 22:44:06 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id DC68128453 for ; Wed, 31 May 2017 22:44:05 +0000 (UTC) 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=ZtVSU/pbPwsxZOnLQjpCkGlZTwTj0ruOnx3/yfygsxw=; b=Rgm3oAApjdyJZWZW6dUHDj5BXj QmDtNlZyXkrixIbrQcDMfNKDIwIN9RFL2Thv+ENWoreeF15nU/35WHCGrC9SmaRKeGfSEN7q1q0tk 1nj3FhDLD39Hr7ChB4215uwiRYrL6JBoByNVJcfEKzxB+cdbAEiZyOOyw/Dzy5CownMqPhvxVUMjL VBfLpZ7phxhqM+yX/GMW7684iWx09/Utg61Pko3gGoZElbuMJJcFjiHVwHM4yUE+OC4dCB0IEG4Qt hkIw7OqO20ZCFZLnRb2e5cW7rituViywY/oodRvp63GoMrxz4zNmrfa7TiCZO49DyPEclABwlU8m6 pbOQWnCg==; 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 1dGCLU-00085w-7W; Wed, 31 May 2017 22:44:04 +0000 Received: from mail-wm0-x244.google.com ([2a00:1450:400c:c09::244]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dGCIy-0004fg-UK; Wed, 31 May 2017 22:41:31 +0000 Received: by mail-wm0-x244.google.com with SMTP id d127so6929803wmf.1; Wed, 31 May 2017 15:41:08 -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; bh=8kvR1g+TB9qdcTc730IR1y9pVdXQMmnj32OCgAaCPBs=; b=j08rlcXmz3YdsmR52Oc8OAEirJw/9eaA36A96zbIYkdMKVXTNmJVp5Q+aroo8nkAwj Q41uXfBKqrpFFG+/yqlcbzcpv+pDrN4pMXXb/+4G4P1lBEtmWryQMcipKIDv5X8TWh38 x4dJZm2ZfCQuN9C8EvTBPSjfOxPZejRBj/4uJPeIQr4D8AxtynjAtrFsgyG2nqkq95qM CYEkZIzjecPPpjDrVyE5qncxcSA16dQyxX6ek7a9HV1xrTghko8oG6doN9qYB3g52nUY u5BKPZQGkfMr6GYUjTdCsxuj7HkLufEClMrYLDOid5YsN4wFD7PPZ5KMuGp8Uka4D4JC R1Ag== 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; bh=8kvR1g+TB9qdcTc730IR1y9pVdXQMmnj32OCgAaCPBs=; b=CU0Le6nT7um2dwBwxrPAPG3kLzUr0nrvRqoEZw32GreFiLevB0SW/GeugSk2kmrBZ0 ZEmXljuFOA9SjQzmJLwwHL0ylV5KWHU5iNlONL0f/jbb1GJON2aLL93A1ZGFPn7ad2Li gR+TnFj2cHgWqhYYcMzc08uQBfeTzZPxf3kxqHBuRK4VQevM3uVUbEoiGpH8dz8u6R9b b9GEE8ZGLYOaS8oyiTtX/btjK1M7WddCdVhmHffnYF3OHMc8/Ncfw5A/P7IG/V0oFLm2 Q3toGwTp7jZ5r7jLamzJhp7ti7oXwsKDPsPNQUmirqveipzPEtrHjv/leJVCd/TOb4rp VAOA== X-Gm-Message-State: AODbwcCXqb9DT+cmDOjmkNEBsoJxDjmHQAN7PvCWmBEhfskCETJE6jiW 92ULXqpwgxwVABgsDUA= X-Received: by 10.223.170.195 with SMTP id i3mr23900485wrc.49.1496270466706; Wed, 31 May 2017 15:41:06 -0700 (PDT) Received: from andrea-ThinkPad-T520.homenet.telecomitalia.it (host134-11-dynamic.32-79-r.retail.telecomitalia.it. [79.32.11.134]) by smtp.gmail.com with ESMTPSA id j1sm41840356wmf.6.2017.05.31.15.41.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 31 May 2017 15:41:06 -0700 (PDT) From: Andrea Adami To: linux-mtd@lists.infradead.org Subject: [PATCH v3 3/9] mfd: tmio.h: support partition parser types Date: Thu, 1 Jun 2017 00:40:52 +0200 Message-Id: <1496270458-6479-4-git-send-email-andrea.adami@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1496270458-6479-1-git-send-email-andrea.adami@gmail.com> References: <1496270458-6479-1-git-send-email-andrea.adami@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170531_154129_308241_48DF00C1 X-CRM114-Status: GOOD ( 12.52 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Boris Brezillon , Wolfram Sang , Dmitry Eremin-Solenikov , Richard Weinberger , Robert Jarzmik , linux-mmc@vger.kernel.org, Russell King , Haojian Zhuang , linux-kernel@vger.kernel.org, Marek Vasut , linux-arm-kernel@lists.infradead.org, Cyrille Pitchen , Lee Jones , Brian Norris , David Woodhouse , Linus Walleij , Daniel Mack MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Andrea Adami Acked-by: Wolfram Sang --- include/linux/mfd/tmio.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/mfd/tmio.h b/include/linux/mfd/tmio.h index a1520d8..23bb069 100644 --- a/include/linux/mfd/tmio.h +++ b/include/linux/mfd/tmio.h @@ -139,6 +139,7 @@ struct tmio_nand_data { struct nand_bbt_descr *badblock_pattern; struct mtd_partition *partition; unsigned int num_partitions; + const char *const *types; /* names of parsers to use if any */ }; #define FBIO_TMIO_ACC_WRITE 0x7C639300