Message ID | 1498681836-3765-5-git-send-email-andrea.adami@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> 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 A365660383 for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 28 Jun 2017 20:32:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 95B7B237A5 for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 28 Jun 2017 20:32:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8909C28179; Wed, 28 Jun 2017 20:32:47 +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 1B12E237A5 for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 28 Jun 2017 20:32:47 +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=L9wJsjJZoan+8P5EDv7+ZZbXs7sNEhr/yaT5RMeHvCo=; b=IXKUTMEZeiT7vjTBDm0wnJ3TQO z58eIXWgCrP8tKHTS8g+CZ8s4DY4J5f3cK1Zf48AvLvhqOhu8/ot0jfeOW5+qAVZ6SOwlOV+afyZJ GgOSFg+yA2r6gi75i9uV3R87mkxjk1RiHpMGIruPGMDK+2frL7MJQxUHrK+cH2Y3cWVKBr1WXnFWY sGQhiQ5va+Vm74u/nOJm7GsmPNoSInIR6+VTjSRmlTYNOhfAV7oqtu32MbDe9O+i240D8BhshS8Gm ITCaSTtyVz/IVFrXLJDWZRz+71JuI81eYgpmTsemG+sN7nhV32ltQnUuNSf8nQh69P9TA/XMUNrkd YqF88Ytw==; 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 1dQJdk-0005W0-AN; Wed, 28 Jun 2017 20:32:44 +0000 Received: from mail-wm0-x243.google.com ([2a00:1450:400c:c09::243]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dQJc7-0004CD-EM; Wed, 28 Jun 2017 20:31:05 +0000 Received: by mail-wm0-x243.google.com with SMTP id y5so13552022wmh.3; Wed, 28 Jun 2017 13:30:45 -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=cvUSKF1Wiz96Iy9270jUtd6fQPiTuRBVUTS//w00dvE=; b=fBKm2V2WdMRruGnOEYb3R2RhaEbK/RWBWKwlKn7jlBojFMxf/Ev0CJq17L/c1mFBM7 H3gvbe2Lpog2pQ6oMp7VwvDhmB3a/Mk65ZQChn/5+xSxHZvSFsDOk1jYUudTU/1kTYvy S+wit+Pgfzu6ShMEeTr9smKoZeLfNi2UsZ0WHuqc2HYOhEwNM1PDVqC1ZjFt6BbKtx9f 5TFVvXr2GHeZNYmYW+46MBd8u2S/YovmD6QCTwcZoqPQbZv1TfusRmmIIm3TvCFoqb88 eUBztQRt6Hh31ZXYKpv0x/CXfpffKqjsR9+nK7EFve9wOlDS4WHG47vRX49O1RCiusBP yQXQ== 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=cvUSKF1Wiz96Iy9270jUtd6fQPiTuRBVUTS//w00dvE=; b=s+smovsy7Zo441VgtxxsUnWDL8wao0MOftvOVaiLkVf0fp3ZN8MwAc8GF3FI8lMYfj vfgq5VoK4il2TxRiTw50lc6nHNGiZa6g/5BltEP8o82WJvKYlPh5FLEzJbgOjoEd/jb0 Z/6FiHdwVn6gK4jlYtkXjmW2KuHAzkvc028jK+qhIML2b10Pw2/NIOPHiEJTuEVvKJWy 9z9cTe9usJrOVD1gV8JhqbR+i9kwr5+4QbMTmGooGVTvi2ByG1kqtwsp3uaTEogNYOvH L4OFsr1fJauYDtJU+c/odIIKHSPJd+2IodSdbH0Dw0FmvtylfSicWryBJrUCJAN98Rbj xXYw== X-Gm-Message-State: AKS2vOz54cLNg6H9bVk1f4nYrWkxOaKRYmfDGj4oJdqgMvJQQ9OJ2sAy 7zpoDLIdvxiK2n2IQvg= X-Received: by 10.28.24.210 with SMTP id 201mr8302122wmy.92.1498681844250; Wed, 28 Jun 2017 13:30:44 -0700 (PDT) Received: from andrea-ThinkPad-T520.homenet.telecomitalia.it (host251-139-dynamic.104-80-r.retail.telecomitalia.it. [80.104.139.251]) by smtp.gmail.com with ESMTPSA id h16sm10832684wma.14.2017.06.28.13.30.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 28 Jun 2017 13:30:43 -0700 (PDT) From: Andrea Adami <andrea.adami@gmail.com> To: linux-mtd@lists.infradead.org Subject: [PATCH v4 4/9] mtd: nand: sharpsl.c: take in account partition parser types Date: Wed, 28 Jun 2017 22:30:31 +0200 Message-Id: <1498681836-3765-5-git-send-email-andrea.adami@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1498681836-3765-1-git-send-email-andrea.adami@gmail.com> References: <1498681836-3765-1-git-send-email-andrea.adami@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170628_133103_667016_148A7444 X-CRM114-Status: GOOD ( 12.08 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: Boris Brezillon <boris.brezillon@free-electrons.com>, Wolfram Sang <wsa+renesas@sang-engineering.com>, Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>, Richard Weinberger <richard@nod.at>, Robert Jarzmik <robert.jarzmik@free.fr>, linux-mmc@vger.kernel.org, Russell King <linux@armlinux.org.uk>, Haojian Zhuang <haojian.zhuang@gmail.com>, linux-kernel@vger.kernel.org, Marek Vasut <marek.vasut@gmail.com>, linux-arm-kernel@lists.infradead.org, Cyrille Pitchen <cyrille.pitchen@wedev4u.fr>, Lee Jones <lee.jones@linaro.org>, Brian Norris <computersforpeace@gmail.com>, David Woodhouse <dwmw2@infradead.org>, Linus Walleij <linus.walleij@linaro.org>, Daniel Mack <daniel@zonque.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/mtd/nand/sharpsl.c b/drivers/mtd/nand/sharpsl.c index 064ca17..87c6fc2 100644 --- a/drivers/mtd/nand/sharpsl.c +++ b/drivers/mtd/nand/sharpsl.c @@ -183,7 +183,7 @@ static int sharpsl_nand_probe(struct platform_device *pdev) /* Register the partitions */ mtd->name = "sharpsl-nand"; - err = mtd_device_parse_register(mtd, NULL, NULL, + err = mtd_device_parse_register(mtd, data->types, NULL, data->partitions, data->nr_partitions); if (err) goto err_add;
Signed-off-by: Andrea Adami <andrea.adami@gmail.com> --- drivers/mtd/nand/sharpsl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)