Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp628533iog; Mon, 13 Jun 2022 09:26:57 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sj3k8X5z28lv2NjI/a7WulD+sJSOrrKgt9JOfDhOheCxkWBcEwcda1z4WtBznk6ezTLT9Z X-Received: by 2002:a17:90a:64c5:b0:1e6:a230:2a71 with SMTP id i5-20020a17090a64c500b001e6a2302a71mr601624pjm.49.1655137617099; Mon, 13 Jun 2022 09:26:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655137617; cv=none; d=google.com; s=arc-20160816; b=R9d0Yh1rK7lKZWHDTj4zwZqtzmjLiIExqGsS/QuGNM7YHlivMuE5f9LlNcPfOYS6mh +M6toiGPsFoerIyOVyF/16OZD/ysk6dI14GG6CTJKBczFHbOzAgM0GuU/OkW+rx6m18q GZwjHLDY7ePaKV8s3uzzCwhYYxm/lIKXrMxp5/kqJioPWSD8ts4Luf8Qwl9msZAujcvZ YKRAp04qI/CTRbqN/jPJxHVnz14niEl4+G+3o/+LVV5nGYlmfLqduHn0OK4UVhNSkqJl iO0NR8L1ICtdM4089ucjdLoBQASEfYkCzhWmZK/jtl87EIyxpExjKGDxwyh0rmDftkvp Vozg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=WInLVSt2YS1ZpuguE43muGkG1A6ogfg86eugBjJXl2M=; b=f6SNgy/49aePyHpiNETFN0Gul110lRID9qIE6in2wmDEBBWuGvluYJNdxuQPfuxzoi cUULScPn0XvwPWdWdGdmS2E7uWZW3c9T5y0Pq/51EqaukcqOJscj/aOrjxnhu9SBUuqr whNii69xCoxVUIreQzneC/dyafjT683QP6B8vkwNtfNHBd1cZsC0qflWZE0MQruY0Wse zLxN9Rhjt4aWNHQCsmRI5cxfHpsB3cyTIAILn3+yiUKezIL1TXXht0FCbyDhRtfRjyBe m/NmLZ5g+AN9oHGTHXZ6ZEHE6tvDMwk43iY+jriI9B6PMMv1sgLJDtfTRuByO3vh7QK4 ae4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=wxSrqyOj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f12-20020a170902ce8c00b00153b2d165b0si11854393plg.440.2022.06.13.09.26.43; Mon, 13 Jun 2022 09:26:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=wxSrqyOj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1356728AbiFMLvE (ORCPT + 99 others); Mon, 13 Jun 2022 07:51:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40974 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1357018AbiFMLpU (ORCPT ); Mon, 13 Jun 2022 07:45:20 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 75AFB49930; Mon, 13 Jun 2022 03:51:36 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 4675CB80E56; Mon, 13 Jun 2022 10:51:35 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B19A8C34114; Mon, 13 Jun 2022 10:51:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1655117494; bh=RuUJURyxugcuc59iK03LZ8W2uZus1jLgTQH7goDPaHQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=wxSrqyOjOCyEgZ8Q1XBLN0F5P7ab5/8je9JlSklq06fp2NcffnydfRFe/cTLE8LDG /U8lI7XCVdzXd6WJvEnBKUlJbgN0+OJRDKj83EhSqILoLh6vEuAwaXoleVik8w4nZd DMmguS5SV8lJchJwIzVT7we2/GZNIZHaAqvRre8s= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, kernel test robot , Kwanghoon Son , Sakari Ailus , Mauro Carvalho Chehab , Sasha Levin Subject: [PATCH 4.19 040/287] media: exynos4-is: Fix compile warning Date: Mon, 13 Jun 2022 12:07:44 +0200 Message-Id: <20220613094925.081748741@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220613094923.832156175@linuxfoundation.org> References: <20220613094923.832156175@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-8.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Kwanghoon Son [ Upstream commit e080f5c1f2b6d02c02ee5d674e0e392ccf63bbaf ] Declare static on function 'fimc_isp_video_device_unregister'. When VIDEO_EXYNOS4_ISP_DMA_CAPTURE=n, compiler warns about warning: no previous prototype for function [-Wmissing-prototypes] Reported-by: kernel test robot Signed-off-by: Kwanghoon Son Signed-off-by: Sakari Ailus Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Sasha Levin --- drivers/media/platform/exynos4-is/fimc-isp-video.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/exynos4-is/fimc-isp-video.h b/drivers/media/platform/exynos4-is/fimc-isp-video.h index f79a1b348aa6..67ef85249912 100644 --- a/drivers/media/platform/exynos4-is/fimc-isp-video.h +++ b/drivers/media/platform/exynos4-is/fimc-isp-video.h @@ -35,7 +35,7 @@ static inline int fimc_isp_video_device_register(struct fimc_isp *isp, return 0; } -void fimc_isp_video_device_unregister(struct fimc_isp *isp, +static inline void fimc_isp_video_device_unregister(struct fimc_isp *isp, enum v4l2_buf_type type) { } -- 2.35.1