Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp39564ioo; Wed, 25 May 2022 19:57:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzuGo3E3ZCnwiR4+FQ0Zb2CpdORSV8Q8+UPHTebd7k/6vqf2Tem+zvNtpHAGCREAtjfw7Kz X-Received: by 2002:a05:6402:322a:b0:42b:cb35:f5d7 with SMTP id g42-20020a056402322a00b0042bcb35f5d7mr5606265eda.428.1653533862811; Wed, 25 May 2022 19:57:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653533862; cv=none; d=google.com; s=arc-20160816; b=w2bI0E6fkBtf0w15x7UcjSa7zKRFAgZfixMRKNJdLcTHb4oso33pPokEfwKtEdb5wI UdbxSezB4ZYmZOYCv/nGGuJFJgDIDiay/ZUoXnvAq4QG/c3UWIR4YN5MkV8oTWpRG3Tt qLNO34nsJ31tNPG4xpZq5YVunQazdumtlprCGcVbgHG2Avlh90zzfv4xbKdOPvyJeyyC Ja4lP+kmntcJyKvJ+OzN4mOuFlp9eWGXX2INkv+TBVroFOcKJw9sncvAa/yJKwc0trX1 AsS9uv/DhCaLG/6pFVYAw6Y8vhUf09i95V4WjFqowMU5KV2wLXYNnuVawKzkFyORU4Kh gDiQ== 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 :message-id:date:subject:cc:to:from; bh=kDC5eWjWIA5RfRzhsiYMsZt2gYfJ68FJqjyif8TdVRw=; b=sxoV5kd/6pqcemI0yQVCtY/YLLpNHqvd5yJuD8VsxXazTu7ni2hf9lnc3I1v68dUF/ 9DiErGanjAkHIEE/Y5WJZJ1GAu+oL20uPywoRbfJOH/HOgvlcxd8zNL/jWuM85hcHBOu WXyoCCbjVk/di4fEFhTBOn6xIjaJOgpuYFTt27tfJCOAV9OoBopjMVSOuVxCbGTUHzkN +cCC6h0kO9B9uwalYdP0o5wdA/rtoqKdMMlmouOCF3wnQr5XLLeIYaN9hZaBKOMRZ0j9 5PUOv7/Rehi32non+3FMQJjwZxTutqlYGzi376La4JTDjHOKpxBlQQg7Oj3K2ADNDjAB Dc8Q== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nd37-20020a17090762a500b006f4f92db142si544168ejc.635.2022.05.25.19.57.17; Wed, 25 May 2022 19:57:42 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238392AbiEYJjF (ORCPT + 99 others); Wed, 25 May 2022 05:39:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47012 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233335AbiEYJjD (ORCPT ); Wed, 25 May 2022 05:39:03 -0400 Received: from out30-56.freemail.mail.aliyun.com (out30-56.freemail.mail.aliyun.com [115.124.30.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E8A90764B for ; Wed, 25 May 2022 02:39:01 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R101e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04423;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=9;SR=0;TI=SMTPD_---0VEN0fAK_1653471533; Received: from localhost(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0VEN0fAK_1653471533) by smtp.aliyun-inc.com(127.0.0.1); Wed, 25 May 2022 17:38:58 +0800 From: Jiapeng Chong To: nsaenz@kernel.org Cc: bcm-kernel-feedback-list@broadcom.com, gregkh@linuxfoundation.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Jiapeng Chong , Abaci Robot Subject: [PATCH] staging: vchiq: make vchiq_platform_init static Date: Wed, 25 May 2022 17:38:51 +0800 Message-Id: <20220525093851.59514-1-jiapeng.chong@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY, USER_IN_DEF_SPF_WL 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 This symbol is not used outside of vchiq_arm.c, so marks it static. Fixes the following w1 warning: drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c:466:5: warning: no previous prototype for ‘vchiq_platform_init’ [-Wmissing-prototypes]. Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c index 0596ac61e286..7de98655e8ec 100644 --- a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c +++ b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c @@ -463,7 +463,7 @@ free_pagelist(struct vchiq_pagelist_info *pagelistinfo, cleanup_pagelistinfo(pagelistinfo); } -int vchiq_platform_init(struct platform_device *pdev, struct vchiq_state *state) +static int vchiq_platform_init(struct platform_device *pdev, struct vchiq_state *state) { struct device *dev = &pdev->dev; struct vchiq_drvdata *drvdata = platform_get_drvdata(pdev); -- 2.20.1.7.g153144c