Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp2171092iof; Tue, 7 Jun 2022 22:06:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwk96AolsPV8dtpCvARSoj/S+3tYSSMU78ZR4DDUgLUL+j8TYJVvbz4CQ1Mf6bD0uYV8R2R X-Received: by 2002:a63:ef4e:0:b0:3f9:e8c4:b72d with SMTP id c14-20020a63ef4e000000b003f9e8c4b72dmr28053058pgk.328.1654664774878; Tue, 07 Jun 2022 22:06:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654664774; cv=none; d=google.com; s=arc-20160816; b=cI8DTh/mS9WFXXKFrz0IRZNTsLpLheEoADJvpv4TJcbmeBpa4sr0u0eDHvACMHEc7s mvwqEWmlAA2QSNZvfKs3BMCuhnnXfDlzndhxINZbfnVmKsxd9xEimoE4fTcKjsYskAxX W06gpOT1JfOLMzEIn0XWXYemyG4JhhDihUgmlmtrpctP6hKOzlG75rBwv0GRgmuypu6o Qn8qbVF8MZ3+T3MSVA9u5wECgu8wndsl9IX2dbyuCjEcetYxEGgTCVvRDSARVFNTuD4k bDWbVwWpYtZ+vqOfWfnN0ptbM9ChFxHpb9bvrNoOr15ETczquvVKaxQj+yKRZ7wuKWRA 3F/w== 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=dTmvVZlPXz31KGM5ZDTpE6V8UscltRuXN9+YtLBh//8=; b=Esw+WhdyYaRuf1nb+pFJHtLE9bZu7LE+UDWhMsXDGwgbrxayC1C82Cb2Q0kUYdWMdR MeCR3Ea5xezTMZJH20tm+FFrz1qgNRLjYDUFk0+sXA1aOYqPxJDGxC52tVOKFApSxTBC +c5GYZyWNBKAmBeQ2cvd++6HUADd0Lyw0XvtUTexaJtv6HEpj8gb4DgOfvPPjuf6GApj 8NmPsLMPxKKvMjhrV+a6MZ36Z3AIwSSfxpvZRji5bUTLZloBdkYcK4gIEqSiOQhuSCCa 5CTkEk9AbJnSqjlA41EpU7iDBPoKf0nN1PmGuDowsgvslVxqf5j4MfeWDCT1LWLs+Wco kCxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=CJjwRd+R; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id g4-20020a655944000000b003fdc5b67013si10547817pgu.735.2022.06.07.22.06.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 22:06:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=CJjwRd+R; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 61258467546; Tue, 7 Jun 2022 21:33:58 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1380544AbiFGWSg (ORCPT + 99 others); Tue, 7 Jun 2022 18:18:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39970 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1379464AbiFGVMB (ORCPT ); Tue, 7 Jun 2022 17:12:01 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B1E6E21A540; Tue, 7 Jun 2022 11:54:03 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 9C88861768; Tue, 7 Jun 2022 18:54:02 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AE02BC385A2; Tue, 7 Jun 2022 18:54:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1654628042; bh=p85B30dk9OhAgqXpoKQRxZZSIMPJk0LPPpMeE1vocXM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=CJjwRd+RA5fp1FTIDVRUgx6BXNzs3q+vcU2J0K14KGncUXVADh2jAzsoUGipk+WSY 1/3CTCN8qs3COmMoRcFOu9Hxg6wq0HpfVHAPKYF+WK4rvEorOPRkvkjEXwt/uW/luw PX44y6l0G2N+iPf16pj+QZxpGcvm2ERLp0foqqM4= 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.18 184/879] media: exynos4-is: Fix compile warning Date: Tue, 7 Jun 2022 18:55:02 +0200 Message-Id: <20220607165008.184390262@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220607165002.659942637@linuxfoundation.org> References: <20220607165002.659942637@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=-3.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, 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/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) { } -- 2.35.1