Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp5375594ioo; Wed, 1 Jun 2022 04:23:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyvCiC6NIj7E3BLkSDskje0dpAGEbRx2cMVQ0nTbKJvy/qQyMBcaXCqYPs5iYcvvkLcemeL X-Received: by 2002:a17:90a:4803:b0:1dc:b4c9:1958 with SMTP id a3-20020a17090a480300b001dcb4c91958mr33615760pjh.61.1654082617991; Wed, 01 Jun 2022 04:23:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654082617; cv=none; d=google.com; s=arc-20160816; b=n7+q6KuGL7wn2r0Iqkya08mPpFfe6Al7U2h1q2a7qZOujb+rqdeOBjf/n8gI0utbOs RL9eJMm7IlSlWTffEvrCiOfIwD+1m+t1C3ktEq6z/muzf2PB1D0g9UE2y3oKGQ46b8MJ bAYtGSM59OCpbsJKWPum8nZN41bACVEHtdn4BQAisN1z4OteYM8ujlDykCQcTgaWcoWD FvZGENuIHYmQIl1GflkUjGbHX/TbI+mL+BQVQnsR5fAWavrm3wyPj3Ux05EPvb1x/HXC djps2d/lGoiHW/Gxzxv88moz6vT94k4qEEdALYOFV1YHBPzep7f7o/+mpBohPL+xlKn7 1Zaw== 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=WInLVSt2YS1ZpuguE43muGkG1A6ogfg86eugBjJXl2M=; b=mMsRSwvmMEB2Rqpd8eT/vbVbnvFMIpLQdBrdxHRdWbh5QbSCSIwXXWmLn7ynPNfaSX q7W8HMJvjjWiWcbaapx8PD4rmT/y2A2/6Pm3vc546u23HjulEelZtZFehFaZ+U8ZztAQ ag3uyDgoiXpAbHp1QvSpgOdGItEtr7e+H1RwwoVt1Vvc+3HecHWSzLsQpZbTItkBVXh2 vfNAd6md6rgn9LAnNAwEOq5jcLHgwbb0Bt/R6RJXlEykuOp3rHe78z9ncy2GRm/uZs52 EtxGApv8Hpb6ah9WhSmhgifW8OREEe0aDwha2CjYFkkpWZ2pf99fnLuam8VmxFRhPM4r 00Jg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=IE8VMiYX; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c13-20020a17090a558d00b001d949db23b3si2114130pji.119.2022.06.01.04.23.23; Wed, 01 Jun 2022 04:23:37 -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=@kernel.org header.s=k20201202 header.b=IE8VMiYX; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241597AbiE3Owd (ORCPT + 99 others); Mon, 30 May 2022 10:52:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44832 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242703AbiE3Ob3 (ORCPT ); Mon, 30 May 2022 10:31:29 -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 C0FAB12C940; Mon, 30 May 2022 06:53:18 -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 BB55BB80DBB; Mon, 30 May 2022 13:53:07 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 62AC7C341C5; Mon, 30 May 2022 13:53:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1653918786; bh=RuUJURyxugcuc59iK03LZ8W2uZus1jLgTQH7goDPaHQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=IE8VMiYXzwauNM/yrmZIreHuedc/E4kfjM9H+kMjfm3P22AJNm4Qy9PSWUPJwHl59 rRV/f/SIBC9uHzdq+P6Bv62dZeWcuxR45mSTNlXRc0qJyoiOrepkpuVPB2dfQDLzix wY4GEY/CIfRAKyA4YYjj8QzG+R2LW3x/tmUUwDkX/MmPz0YgbZNAwTKV0cGragV6dM QCukYeCrt26SPEhu7WioVGhQba4KhOqGszm5vQub0T/hAn4vJxTRB2BySsZeF7JW/3 m1LTFEIVHxnlH8BtdUFPmkUyvK7t7+TwW0065bVrReDmn/8+KXjUYQfaBfF9xCwt0b cX3vHXyzKgK6w== 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.9 21/24] media: exynos4-is: Fix compile warning Date: Mon, 30 May 2022 09:52:08 -0400 Message-Id: <20220530135211.1937674-21-sashal@kernel.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220530135211.1937674-1-sashal@kernel.org> References: <20220530135211.1937674-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.7 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