From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C84B2C282D7 for ; Mon, 11 Feb 2019 15:57:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9A71021B18 for ; Mon, 11 Feb 2019 15:57:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1549900651; bh=u4tJDIPQpHeGHV0V67LENQMdACi/Q6wRFIop62+BFGc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=pzdrhazibvlR+tYdD3qjezRZnN9hojtK0Bz8QsAWvPWok2KISahs2xBpoYHIVoS85 6Pyu9wtzcOtTsYCZpETZdpNhfx4xw598ftMQA0k6NPBi86FHVn5xAe4kXEW4gZ8OCm TQ7125+sL9owGtwVqokDvl8u097V2L0jSLskrL84= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730134AbfBKOdl (ORCPT ); Mon, 11 Feb 2019 09:33:41 -0500 Received: from mail.kernel.org ([198.145.29.99]:41478 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730684AbfBKOdk (ORCPT ); Mon, 11 Feb 2019 09:33:40 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C99BC20844; Mon, 11 Feb 2019 14:33:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1549895619; bh=u4tJDIPQpHeGHV0V67LENQMdACi/Q6wRFIop62+BFGc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hZCY2vx4291eH4rKFrz7EZfytYdztVQb2hjmdxdTnJ1l2jCrC5kfrNuABlHXDWfPD sAJmQ2imZV5Z6UYKd1J1lVkAWs54dAFQfwqAgJ+xpTAOWqaIbEOxCbpxdFDIUyTvcT 85DQI9OS1TyKLTsmx1IXE3QX1r/ISexMFKU54RF8= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Randy Dunlap , Geert Uytterhoeven , Miquel Raynal , Yoshinori Sato , Rich Felker , Jacopo Mondi , Magnus Damm , Andrew Morton , Linus Torvalds , Sasha Levin Subject: [PATCH 4.20 265/352] arch/sh/boards/mach-kfr2r09/setup.c: fix struct mtd_oob_ops build warning Date: Mon, 11 Feb 2019 15:18:12 +0100 Message-Id: <20190211141903.891775412@linuxfoundation.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190211141846.543045703@linuxfoundation.org> References: <20190211141846.543045703@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review X-Patchwork-Hint: ignore MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org 4.20-stable review patch. If anyone has any objections, please let me know. ------------------ [ Upstream commit 440e7b379f91acd245d5c8de94d533f40f5dffb3 ] arch/sh/boards/mach-kfr2r09/setup.c does not need to #include , and doing so causes a build warning, so drop that header file. In file included from ../arch/sh/boards/mach-kfr2r09/setup.c:28: ../include/linux/mtd/onenand.h:225:12: warning: 'struct mtd_oob_ops' declared inside parameter list will not be visible outside of this definition or declaration struct mtd_oob_ops *ops); Link: http://lkml.kernel.org/r/702f0a25-c63e-6912-4640-6ab0f00afbc7@infradead.org Fixes: f3590dc32974 ("media: arch: sh: kfr2r09: Use new renesas-ceu camera driver") Signed-off-by: Randy Dunlap Reported-by: Geert Uytterhoeven Suggested-by: Miquel Raynal Reviewed-by: Miquel Raynal Cc: Yoshinori Sato Cc: Rich Felker Cc: Jacopo Mondi Cc: Magnus Damm Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds Signed-off-by: Sasha Levin --- arch/sh/boards/mach-kfr2r09/setup.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/sh/boards/mach-kfr2r09/setup.c b/arch/sh/boards/mach-kfr2r09/setup.c index e59c577ed871..c70bc7809dda 100644 --- a/arch/sh/boards/mach-kfr2r09/setup.c +++ b/arch/sh/boards/mach-kfr2r09/setup.c @@ -25,7 +25,6 @@ #include #include #include -#include #include #include #include -- 2.19.1