Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp444511iog; Mon, 13 Jun 2022 06:07:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwl1IhqGYvmsK7mT+GYzfFFary4Ueutu8MY1XWNdaPM2jgIwuIKKjY0ExFdsTQEp8zd5ojM X-Received: by 2002:a63:e705:0:b0:3fd:fb59:bd7f with SMTP id b5-20020a63e705000000b003fdfb59bd7fmr29608165pgi.505.1655125654795; Mon, 13 Jun 2022 06:07:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655125654; cv=none; d=google.com; s=arc-20160816; b=FNHhdqvYfxhowZo3pQgbQTLRB479k4KAH1m9/hYqoqjd4SkVhxby3XbhTvCAWS4jJW 2TGvv6egbMC9vgYR04WMZfaFjmW/PjcSNVnBe56miFiNXiLbfSCJx2Kv5RtuGVkXhdGA RNrmi9HdqIOngkEiDK7ly7W7Znu61Qbc9zi9Mx2lvp9N8O9o7egDlS8sTFAaSrYWJoZ4 Rd5V5/aV8BMfLi6raiz9R+BWhZbzqA6xDR/IB3AWzNDljRHi/UVEPkHqbbs7FiuimGmO rBiZcb8nWIyJgn6347vHR3/3lhcg1Tsi7Y2oyF+rSIEuKTqkUCLS0qg1hbOKJL5cQksq 884A== 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=muufrMzXzEGNWiH9mhUNvJYMCHQi4e1tGS0ZwAsA/ZA5T75WiqO3dJgjjj2g1iuMKz fLFd5xDuum0J59gMMGiccRuUYRu1/2jXHc+2RbY2uoS/0Ne7AY8GaFnzpgAxhWm7wHOb TWz1vxOnxIaoYFirSYBeBPgB4j+WD/8wBJg+fA5otA1b0A6nPRbi0qAK7yNcTCblmm7t odJSoxw1x5TN2c3aRxcu6767B3HdBF66DfegbWNQBnrbs96Naa7dM/EUHoL3oHMzQQMl SCnhecS0vk5oKBcUgAvi4UrJeCs4fene/nARNLTjsjsbj5tO2UQ1ymcKavTz3tM5gUg4 KMUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ZBPcCkGA; 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 lx3-20020a17090b4b0300b001e34484b182si10899868pjb.135.2022.06.13.06.07.19; Mon, 13 Jun 2022 06:07:34 -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=ZBPcCkGA; 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 S243787AbiFMKlE (ORCPT + 99 others); Mon, 13 Jun 2022 06:41:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58336 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348009AbiFMKjU (ORCPT ); Mon, 13 Jun 2022 06:39:20 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6CB55140C3; Mon, 13 Jun 2022 03:23:15 -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 02D42B80E2D; Mon, 13 Jun 2022 10:23:14 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6B3A1C34114; Mon, 13 Jun 2022 10:23:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1655115792; bh=RuUJURyxugcuc59iK03LZ8W2uZus1jLgTQH7goDPaHQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZBPcCkGAPo9ctHGnIZMo4RrwXDNuyakP33cne9YEKeHLE0kavFgDL9E7amLH7Z7CY dzw6rqjSG8ZEBxmXnwyF7zWzc0dI1/gTwX5d99sUXHAgrJDaHnuWMLc1KLaJkwI9XK jKDFveo5TgW5uvrOGVwFvCdff+u2MWSpe7HwQg6w= 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.14 032/218] media: exynos4-is: Fix compile warning Date: Mon, 13 Jun 2022 12:08:10 +0200 Message-Id: <20220613094915.886593006@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220613094908.257446132@linuxfoundation.org> References: <20220613094908.257446132@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