Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp5749832ioo; Wed, 1 Jun 2022 11:45:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxcqJ1oDSoTzQMJKD/3/N8JPNYmq0Jm206bgWnYTqELt0UuLTO+XmgS2I01pqiiGywW6W2w X-Received: by 2002:a17:90b:3b92:b0:1e3:16b5:33df with SMTP id pc18-20020a17090b3b9200b001e316b533dfmr792091pjb.198.1654109132586; Wed, 01 Jun 2022 11:45:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654109132; cv=none; d=google.com; s=arc-20160816; b=mXRZHLOZiaJ8tgtXQAVoKySrYUbeNlXCEmDQ3DPbr55xCT9ZwzPH53iOcYq9KfEVA1 qYwEem2y8Zb51sSYj9cUMDGXvzOzWogCql5F3enBYGIfl6ddP2DCiJEQxR/EA5KviIyz 0c2vGCGObAeZDnuU/2TvqpveEZfumJL8W7Nnmv7KeVxPt3aQKMkvDFDvvmJpIViPku5N hMu5p/HHHvH/GU2pENQoQafSg40YY0AMJ87ISOjBelEWqVXAInriAVeHl8MYSk9Cqzrs l0ho2q66v3y6CEmwwXJSFkGqfbhgJ67bbMz9IWbNxJBxfqyAhgOaf1zMFnl1L6KmjAxJ cuQA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=t5IOI8/BMuz0Qnc9jsaNjXb0yWoUt8bjn44fxw7yIWw=; b=IfcIvt44qreR5d6GhxvUjxwtrTS6NJF29HPy5yP9OCRa8vOOtq1ri+cFaVJqHfzioS 5PlqKSGrqTjO3lH1FeWE/EoP/bA3GJ9pjNJ9d2T6BmmrX4VfJoSigfirMrcr6W8xGR7E a/7yQNnNXl5VWIOAuXpybulY05V/sVsb1GHYNHjlz8Dx7YUqDWNlUUJxSzzcEf9fSvBl 3NFjSebhJ+DXffwpmJcf14KMoQQMsI+hWI0yc5HZF6hqsSNLYvtOGEhBy15b3fTc0ay5 iKBX1VmAXgdqm+DK6D8rZ8TFX8Nk3vzeLZdcmq8HzVMfeXPBg55hAAGxeB0gHUAeZN7c DAEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cY5E+OAO; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id y17-20020a17090322d100b001616a3550desi3434951plg.388.2022.06.01.11.45.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jun 2022 11:45:32 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cY5E+OAO; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 8DEDDEACD1; Wed, 1 Jun 2022 11:40:56 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240695AbiE3Oi4 (ORCPT + 99 others); Mon, 30 May 2022 10:38:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42946 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240733AbiE3OVL (ORCPT ); Mon, 30 May 2022 10:21:11 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B0E3CA7757; Mon, 30 May 2022 06:50:13 -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 E0EFAB80DAB; Mon, 30 May 2022 13:49:06 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3B9E0C3411C; Mon, 30 May 2022 13:49:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1653918545; bh=CTn9HCUjXYHSwA99rQmy+i5tCftAg7PvxJaOxRnYJjo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=cY5E+OAOPG7UskD4aGGpktgGlTqyvDpkYdM7Wf851TE15/P7/dfeRVzvAGjf+AgtA xzaFlqbvAQgIHJcRlFYpGS7L3YydSsAMTtk/HqvOaDJCNEPqKhpO4GDjK0CsY8zfKd ZNhM5455LZS6yZjjYOL9rkJdzjFnfHh8ZEKy7X+0lk4aYrmLD3SZH9qyJmaqfrQLB6 4x6QQi1vnZjPKikz7u2x9xojfVp1gDpd6LH3pHRYApkceTmGKdIabgvkd50Ifpp6tk Sv5NcCR26XmI2k+Og4/K0uodikbydaSzAtFCbodK8IjJ1IRAiewVC+Y7qpK879/Ecq UbiHz6/RZtWmQ== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Kwanghoon Son , kernel test robot , Sakari Ailus , Mauro Carvalho Chehab , Sasha Levin , krzysztof.kozlowski@linaro.org, linux-media@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Subject: [PATCH AUTOSEL 5.4 49/55] media: exynos4-is: Fix compile warning Date: Mon, 30 May 2022 09:46:55 -0400 Message-Id: <20220530134701.1935933-49-sashal@kernel.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220530134701.1935933-1-sashal@kernel.org> References: <20220530134701.1935933-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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