Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp438410iog; Mon, 13 Jun 2022 06:02:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyShjnjN0RPFRpX+SmycoAXMmHVJ8Q1n9mD6XGAEn/LEfu4rRcIFxfRLO/yM8uDFcNunn2n X-Received: by 2002:a17:902:7089:b0:168:b18e:9e15 with SMTP id z9-20020a170902708900b00168b18e9e15mr19613600plk.102.1655125359817; Mon, 13 Jun 2022 06:02:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655125359; cv=none; d=google.com; s=arc-20160816; b=l3moiwct5zLj1fqQh8HsxYAwKt4VklU85sIgpjUI6T34lQ5MB+LZ2j6bpJ1Xk2EAm5 cpNWTnkcgJcsW/+XDFLxAGSrTCVuphTLBT1Z26OfuGH51jdIKvMTkQK6TaVX/nN0mydl kbs8e9T6EskyN0DFIJRQlclK4/LIHO7ORNTnuFEDyNenfzybVG/22VktTOCdtjO6YvIp BmNAASU6euiinljzGX850RXtMiarg7/5DhsyNyNcTrc58VgQnSeCo69Jj+sc0VfD1dO0 60fjO06KDI/MfIijIZqa9Cj2Var4DyQh7QWgQCWdi3wHisQp8Zk3guK3qHBD1tAs14G9 PoQw== 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=WInLVSt2YS1ZpuguE43muGkG1A6ogfg86eugBjJXl2M=; b=t+EV0pOjd9LcjZca3B3jzF/i7AHieQ8nzgq2S76s2U94A4+3drxz7lhpaf3Ln2qN75 UclF+RhqF1UQhDg+FecxrLZW+mlDEbowhB/Y2w0is+QHL8wSfWf9uRuh2cFaClKX13Jr qLlWsUs2hUC0VMMDoPzDsVIrjxFg60Y4FCDDLDxOb63JBoxswZwnMepmZLN8mqnp8DO6 HcID4GzHEsZZtjE8qXwOFwKW71pSUFRLxfBeSmPf+2bHyCAqhk5/sHUEfyhM+0dYtkLl YKU4cIKJfIp3Kld9mpgPhNNubOX0K3eX9uQEI3fLCuyCVGM5OK4UHkZXvf559UXqv3kp dJ3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=xn5DRr2C; 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=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i25-20020aa78b59000000b0051873a6f9ffsi8100499pfd.265.2022.06.13.06.02.22; Mon, 13 Jun 2022 06:02:39 -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=@linuxfoundation.org header.s=korg header.b=xn5DRr2C; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241819AbiFMKQK (ORCPT + 99 others); Mon, 13 Jun 2022 06:16:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58132 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241426AbiFMKPs (ORCPT ); Mon, 13 Jun 2022 06:15:48 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0E08ADEED; Mon, 13 Jun 2022 03:14:55 -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 1498A614A8; Mon, 13 Jun 2022 10:14:55 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 26D99C36AFE; Mon, 13 Jun 2022 10:14:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1655115294; bh=RuUJURyxugcuc59iK03LZ8W2uZus1jLgTQH7goDPaHQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=xn5DRr2CsVCbWVpBhktDHdzOHStxGrd34cOj1GxXXuw8XQ6XzDp5En93+bXRwsZZx sVWAO/n5jHGNXxO7X30RnakeFu4IGkAgNXH6RXSkZlw/wxWK3hieq80geJa0tlVVVa zZNAFRxATEbU1bNTSdD2xnzO6oLwm4AWa1m2Sypk= 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 4.9 024/167] media: exynos4-is: Fix compile warning Date: Mon, 13 Jun 2022 12:08:18 +0200 Message-Id: <20220613094846.463500476@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220613094840.720778945@linuxfoundation.org> References: <20220613094840.720778945@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=-8.3 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