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.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham 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 5343DC282C8 for ; Mon, 28 Jan 2019 16:10:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 141B32171F for ; Mon, 28 Jan 2019 16:10:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1548691843; bh=J7awTv4PeS1XC2RfXErFy6KB3u756blQbjFvWInqLNk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=Ej7IvAbW9F75fLel/0BYZ+3FKF5oes4biAWvwcs5UtVeC6zBYdUZSdM/nBrY3KdpC kB30EEJB46dQBqKORujN+/8LCAg8qTBt0J9ix4olZ1inxsmi3vjYND8g/PcM0AqiTL hnS0s3ofn5bA4kzBK/oNSlV/3G2/ZezxL4Lmsqxk= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732854AbfA1QKl (ORCPT ); Mon, 28 Jan 2019 11:10:41 -0500 Received: from mail.kernel.org ([198.145.29.99]:36880 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728387AbfA1QKk (ORCPT ); Mon, 28 Jan 2019 11:10:40 -0500 Received: from sasha-vm.mshome.net (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 820302147A; Mon, 28 Jan 2019 16:10:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1548691840; bh=J7awTv4PeS1XC2RfXErFy6KB3u756blQbjFvWInqLNk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rwgY/6byayJcEP+V1eVaEpEVaRVlv0BQe5N/E8v23w1CqES72u0FzzkCV7bH50geh u7ABScjEhhwp0BJs4J9rCw/SXMLcS54g+1oKXhM3BLs1Z938vxN0um6ZuNowyvOKyK n/hQ526IB8Qoxkm9RDB1arMH4UKq0LLHXlgcWlXs= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Randy Dunlap , Yoshinori Sato , Rich Felker , Jacopo Mondi , Magnus Damm , Andrew Morton , Linus Torvalds , Sasha Levin , linux-sh@vger.kernel.org Subject: [PATCH AUTOSEL 4.19 234/258] arch/sh/boards/mach-kfr2r09/setup.c: fix struct mtd_oob_ops build warning Date: Mon, 28 Jan 2019 10:59:00 -0500 Message-Id: <20190128155924.51521-234-sashal@kernel.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20190128155924.51521-1-sashal@kernel.org> References: <20190128155924.51521-1-sashal@kernel.org> MIME-Version: 1.0 X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Randy Dunlap [ 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