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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 53B85C433EF for ; Mon, 30 May 2022 14:53:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241830AbiE3OxL (ORCPT ); Mon, 30 May 2022 10:53:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41062 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241433AbiE3OaZ (ORCPT ); Mon, 30 May 2022 10:30:25 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0C90B5BE58; Mon, 30 May 2022 06:52:05 -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 6CCF4B80DE2; Mon, 30 May 2022 13:52:04 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 16E3FC3411A; Mon, 30 May 2022 13:52:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1653918723; bh=RuUJURyxugcuc59iK03LZ8W2uZus1jLgTQH7goDPaHQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gXOuoYfPBxQ3xZe8wpQQh+vbAJDY25IsU8SInOee7tbfVQ65EQaKTcVKW+Vo0RtvI 5EMEzH+snDViOKheFg03EhoI2ip3TBcsJamtqZYH1F+9ul8i0Nm38ODgmns2tuBfdp W0U1OJWhpdaWuqAqAP+8yzrEV+PWbMzUqQ9pr3/Y8RDaiHAf14ulLgLMHhJ7G/cfEC BiaTg6wY4k+RRRVBZmnIo1z9gljjjDW5T3JfmF00nPEH1Zte1BiQRaG3XJze7VxsfA Ys+/raxLYivj0qkfVGTrsuxquVYr6vVOXyVvzGTWetnwbu2BvHGGySNpwF9XbsD9CB plUjbNz0NIZrA== 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 4.14 26/29] media: exynos4-is: Fix compile warning Date: Mon, 30 May 2022 09:50:53 -0400 Message-Id: <20220530135057.1937286-26-sashal@kernel.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220530135057.1937286-1-sashal@kernel.org> References: <20220530135057.1937286-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit 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