From patchwork Wed Apr 20 05:11:49 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kwanghoon Son X-Patchwork-Id: 12819786 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 C03BCC433EF for ; Wed, 20 Apr 2022 05:11:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349616AbiDTFOj (ORCPT ); Wed, 20 Apr 2022 01:14:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47870 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244126AbiDTFOj (ORCPT ); Wed, 20 Apr 2022 01:14:39 -0400 Received: from mailout1.samsung.com (mailout1.samsung.com [203.254.224.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2A22D33E22 for ; Tue, 19 Apr 2022 22:11:53 -0700 (PDT) Received: from epcas1p1.samsung.com (unknown [182.195.41.45]) by mailout1.samsung.com (KnoxPortal) with ESMTP id 20220420051151epoutp01f0a58ae56b7c674b1565170baa6dc922~ngrcGMAG50136801368epoutp01L for ; Wed, 20 Apr 2022 05:11:51 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.samsung.com 20220420051151epoutp01f0a58ae56b7c674b1565170baa6dc922~ngrcGMAG50136801368epoutp01L DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1650431511; bh=AkboBTl1T63+/eHjjq5Ukj4jzXHO3ubdVjK2Hd3G60A=; h=Subject:Reply-To:From:To:CC:Date:References:From; b=SRkykIInRaBzKF+W4e5YkRsRakS+uRSJOeol4FUnIpRgaohW9KXpusJDds/h5ReOG iYbSzswZ5dXfbu76RkZ8ZdnrybST2fI7N6CQ87z6BUBg1+x/BzlJG4sh76p/qrcHG8 RcQvTrJSJKW7pqpKZbGrN7sbxB1Ioj700QqKfoL4= Received: from epsnrtp1.localdomain (unknown [182.195.42.162]) by epcas1p3.samsung.com (KnoxPortal) with ESMTP id 20220420051150epcas1p3f3323a57633a7d22e6e3fd07984d16ad~ngrbwoLRx0406904069epcas1p3G; Wed, 20 Apr 2022 05:11:50 +0000 (GMT) Received: from epsmges1p4.samsung.com (unknown [182.195.38.234]) by epsnrtp1.localdomain (Postfix) with ESMTP id 4KjpgT44GFz4x9Q1; Wed, 20 Apr 2022 05:11:49 +0000 (GMT) X-AuditID: b6c32a38-001ff700000049ed-50-625f9615806b Received: from epcas1p4.samsung.com ( [182.195.41.48]) by epsmges1p4.samsung.com (Symantec Messaging Gateway) with SMTP id 89.6B.18925.5169F526; Wed, 20 Apr 2022 14:11:49 +0900 (KST) Mime-Version: 1.0 Subject: [PATCH] media: exynos4-is: Fix compile warning Reply-To: k.son@samsung.com Sender: Kwanghoon Son From: Kwanghoon Son To: Sylwester Nawrocki , "mchehab@kernel.org" , "krzysztof.kozlowski@linaro.org" , ALIM AKHTAR CC: "linux-media@vger.kernel.org" , "linux-samsung-soc@vger.kernel.org" X-Priority: 3 X-Content-Kind-Code: NORMAL X-Drm-Type: N,general X-Msg-Generator: Mail X-Msg-Type: PERSONAL X-Reply-Demand: N Message-ID: <20220420051149epcms1p469ac91524037074586d368fe901e0964@epcms1p4> Date: Wed, 20 Apr 2022 14:11:49 +0900 X-CMS-MailID: 20220420051149epcms1p469ac91524037074586d368fe901e0964 X-Sendblock-Type: SVC_REQ_APPROVE CMS-TYPE: 101P X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrLKsWRmVeSWpSXmKPExsWy7bCmga7otPgkg74tshYP5m1js9j7eiu7 Rc+GrawWM87vY7JYtukPk8XhN+2sDmwem1Z1snncubaHzaNvyypGj8+b5AJYorJtMlITU1KL FFLzkvNTMvPSbZW8g+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: Reflected X-CMS-RootMailID: 20220420045732epcms1p7bdaf82873a4328153b456ee4e3a5660a References: Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org declare 'static' to fix warning message from https://lore.kernel.org/linux-media/202204192315.ZHbOex51-lkp@intel.com/T/#u Reported-by: kernel test robot Signed-off-by: Kwang Son --- drivers/media/platform/samsung/exynos4-is/fimc-isp-video.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/samsung/exynos4-is/fimc-isp-video.h b/drivers/media/platform/samsung/exynos4-is/fimc-isp-video.h index edcb3a5e3cb9..2dd4ddbc748a 100644 --- a/drivers/media/platform/samsung/exynos4-is/fimc-isp-video.h +++ b/drivers/media/platform/samsung/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) { }