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 2B1F8C169C4 for ; Mon, 11 Feb 2019 15:37:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E8B8D222A5 for ; Mon, 11 Feb 2019 15:37:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1549899472; bh=diXTEQj3Ko+fK8YGze6jU7sfxgUqwwOMpNz3eGy1p7I=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=SbYMflcszE4BVwXk6WUCedkFQAT07kab0U4879UfbtfBoxP6g7b0UnVlbr6UpDvun MxH/R3lprQ4clkXPbKmHRpvNEqHKQWfAsF8aaAhSodBZ6Rs7PjYXDaXIsvS8U+bi+l ZkGI203gSjr/EfX3TQWmlZk7y7PvwuHQeSKMPSec= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388166AbfBKOus (ORCPT ); Mon, 11 Feb 2019 09:50:48 -0500 Received: from mail.kernel.org ([198.145.29.99]:36630 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388151AbfBKOun (ORCPT ); Mon, 11 Feb 2019 09:50:43 -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 7707D20700; Mon, 11 Feb 2019 14:50:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1549896643; bh=diXTEQj3Ko+fK8YGze6jU7sfxgUqwwOMpNz3eGy1p7I=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mZ3nl5qulgdHGoOwvfuTxucVIr59LsdKlMLyWfHPfO6lMFlBTNQ2vuciaKSaY2XUB h3PjXMpwC3ulES0jnuK1aN+yOHdoXLfpIsvoGvV4FB8HfAVu8A+esNoZuN5pM1Oawh Ryr3fG23rHVAs7KHQ/eRalgyGRokdOarG3HthzpA= 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.19 225/313] arch/sh/boards/mach-kfr2r09/setup.c: fix struct mtd_oob_ops build warning Date: Mon, 11 Feb 2019 15:18:25 +0100 Message-Id: <20190211141908.351805089@linuxfoundation.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190211141852.749630980@linuxfoundation.org> References: <20190211141852.749630980@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: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.19-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