Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp439799iog; Mon, 13 Jun 2022 06:03:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxLxvocFwCQHcCct3YwNjLyF1UMgUV0vk8s8u6Kw+Vt2/92YV+OTP0Vjbd2op/6lxKX1UsJ X-Received: by 2002:aa7:d9d9:0:b0:42d:f9e4:49e0 with SMTP id v25-20020aa7d9d9000000b0042df9e449e0mr64776068eds.299.1655125423604; Mon, 13 Jun 2022 06:03:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655125423; cv=none; d=google.com; s=arc-20160816; b=VsWM3fwmhdtLo/IFr/0rYT/gUQ0lDdw591ZfSA43xQjUzZyFa26rxkgZwsoAZuKU8A JV0pKdY45PY+GS1tx3zmiSFTC+UHNI3qKlTRoQDni6Wd5Xz9lVgk/gnmZw+j6bFRf3iA p/hqAsEW7/ZnHH9ibxiMAnGtcnpjTGJavCrFDu4H71A5ZX0p6euPXSBj05Wmib5CQZIF XRmTixjyMr3wPWFAC7eWKyavxWHB06u0HAlYvYIp8kSa1yuyJs6Aj5qkQH/AaWSWCGXg g4gKuO+1X7dgbp+P7guqKEoBHrmgLBLS0rzCxhx3d2R+Zu+JtBJJPQZtfeZCneILC0t+ hjBA== 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=t5IOI8/BMuz0Qnc9jsaNjXb0yWoUt8bjn44fxw7yIWw=; b=df3+fll4hm59pdK9Jb7ClMoCaTV375j7NNEOE0Y2gmWUjvBBIfd2oRY4PaU7e5IWy9 i2eacRddZ8pa9w1T6WTGFocqy5iMlwSLEAYhi7o/0u6hDopxNonpM6bV18S8yqQsk2qv 8L/e4HthTH8SuX2AM1E6wScwUtzAbcbrvQd2i8leAfUBtyilRKvsoe4TnvJEw4qINjdS HKfi0iK2HlE+mQ6B82iVGgLtHG0Ru5UPIZhpRcLNcjBD08MyRdpCUAlHx925BRZjAaqB z7fi9pwS+b0iO+aAoSJSboDtp4MOzM8drWr0M9T+q4FqcIao8fc+3Zgn4xMXwIXcS14R WXNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=K37Y2nZV; 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 13-20020a17090600cd00b006e8925846cesi6803736eji.471.2022.06.13.06.03.14; Mon, 13 Jun 2022 06:03:43 -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=K37Y2nZV; 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 S1351040AbiFMLCu (ORCPT + 99 others); Mon, 13 Jun 2022 07:02:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44370 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350412AbiFMKyw (ORCPT ); Mon, 13 Jun 2022 06:54:52 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BCCCE1F62B; Mon, 13 Jun 2022 03:31:23 -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 72A26B80E59; Mon, 13 Jun 2022 10:31:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DB5A3C34114; Mon, 13 Jun 2022 10:31:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1655116281; bh=CTn9HCUjXYHSwA99rQmy+i5tCftAg7PvxJaOxRnYJjo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=K37Y2nZVOMb2SdVkH7f+mqIGVE736nvwcf6waYXKfe9DPJLzZqvdgWYZb4cNfIlVT 01b0zsWuAl51SRwdClUbzsJH2CCwRYSq7PDUM3V//fIHNVgG0aN0F1kGtbv/pEQOqw fiafF0DUD2UCEM47ro4HKk4nYXBlu2EU/em7QedE= 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 5.4 057/411] media: exynos4-is: Fix compile warning Date: Mon, 13 Jun 2022 12:05:30 +0200 Message-Id: <20220613094930.224344584@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220613094928.482772422@linuxfoundation.org> References: <20220613094928.482772422@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 edcb3a5e3cb9..2dd4ddbc748a 100644 --- a/drivers/media/platform/exynos4-is/fimc-isp-video.h +++ b/drivers/media/platform/exynos4-is/fimc-isp-video.h @@ -32,7 +32,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