Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3486863pxf; Mon, 22 Mar 2021 07:34:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwHVp0kuKwcUK1/wVaaU9/K5HyLSOudG87DJZUsJU+oRHdiGBH5R9iuWecoc9bkA5UAAMKi X-Received: by 2002:a50:f38f:: with SMTP id g15mr25779145edm.262.1616423643898; Mon, 22 Mar 2021 07:34:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616423643; cv=none; d=google.com; s=arc-20160816; b=nn/iIrWn87EuUS2iKAa247k+TBovClJ8WO9zwvBXpWZCtslcnZAE9Q83O1hI8CLhVU hZo0H4/MsRWcmLF/KXPhJB2dH0FqmfonYWZOb25KmKgFO3yjSOAL+NcQ1YfS6IGXMqV5 emGOMgWribpS5Hbv2kuGzwuUNS2KFxRFxrhfXsh/hJM9e2EnhYIblAdeptbe2jhwSu85 S7W2Fo+WZue2KI4QpJ/7QGEzXrdupgnuD0nGL9G0CdbK1bXFhNf0Y3+6AmYEwAxUXyuQ F1BKhThsO6081QE4KhUAs2km78nExbnQbhP8mPw9ZGImOb+Kfv3hzPabOjTNzswRQsEY FPaw== 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=QNlBaswYmXMpAAiZg+aRMz4wD658eKTTonTGdQHvXsE=; b=B7mUd/PIv+xeNOxS+S6s9RAMp8fN9RsHDliUc+VkUy7rY28JhMwaOjFy9x1bVCGdcs vQF63ERBvBHRzVFTW3GbA5XMmfDMeViwTc6/VJ5VmUWWh/BTx52y1mE+lk0pnBv7j0xV icl0l6PyZQiwm8Cy3V8VZOJj+jtEPpzDwfIPYHZ6OTnLJBLH4zi1/lkVZNHfk/6mwEpX TWbo9LB5D62kQxxoiMXo2sUfjBOl13i9Ysr3mtIqmnhbLgaU5JWVgOtsEGarM5Nkt33l /x2W65wsk+RD+VqLkODq6KV0RPKRhz/OHJsjjr1WiFV56WltBQuKn0fCMA+kKXZPTdOI tEvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="Iu7wb/6n"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y15si11379378edv.49.2021.03.22.07.33.41; Mon, 22 Mar 2021 07:34:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="Iu7wb/6n"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230064AbhCVOcq (ORCPT + 99 others); Mon, 22 Mar 2021 10:32:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50018 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230369AbhCVOcO (ORCPT ); Mon, 22 Mar 2021 10:32:14 -0400 Received: from mail-ed1-x52c.google.com (mail-ed1-x52c.google.com [IPv6:2a00:1450:4864:20::52c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 53284C061574 for ; Mon, 22 Mar 2021 07:32:14 -0700 (PDT) Received: by mail-ed1-x52c.google.com with SMTP id bf3so19635466edb.6 for ; Mon, 22 Mar 2021 07:32:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=QNlBaswYmXMpAAiZg+aRMz4wD658eKTTonTGdQHvXsE=; b=Iu7wb/6nSqLYp0FXpE03/bHsMwOXXIeky8JncDE2nv7gkm+RHDDR7fHyBVzS2EMbFQ yzUr0yhI7g2gvnfvQjd9IkblYrgiztUD8fuF0Sjw2wussLT7orB6Yj7oZHLg6W64I+YP v6KaOG84uf9bigd/+c/sAwBrel83NPtq2pWNUF4OctPwR+GWyq2c4vh11yao6Q0QcpID VCq1vmn90LG7HeLNzGqi/sgJUd/U69CfQ8aVOiJUd4DhlwZQEgtzQPqJjgss34Psy7vV aF0VNW05l3xAcXd4JJRYScpyDyTOGjR3EwiR0q7ZuMpoFP8CYigg4lYZddFzD5aNTr4T T1uw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=QNlBaswYmXMpAAiZg+aRMz4wD658eKTTonTGdQHvXsE=; b=KfTxl1fPuCIKcXpT2Ng8dkyxzNC//vJxwTgQLRdp6xHYV9wgvmuc3Pe8PXF67Qmkl2 jCJJpe2Y/nSFLZa4oogvQpdrNNrpOWyS0lAOdRGISECwtqP0JSarEDwMZhGUDtRhdPWc 7A7HrXrdHvbDXcU8YRs0NtbyzGZSVMwUAA9RLYyCsHRcvRnyKh26gIEwhkrHHyRoXaVk 2OQZDTVvnq6illLCtofSCgG1zrEuiWXBg4YFo6HGKCZWAlIV74m8bFrsphzTnGUqNcis Jb8bridz+sY4vAD7l7cCY0kQ9jpd5mUsvRjgol1cGZPOhRFHJ7gytfxnffv7TM8bzjBP 5EJw== X-Gm-Message-State: AOAM533mFB8PGbh2pAJYcG+DLl2FQQPkUr4FTBNL115yzYi9gnGKCw6R X7/p3MjdF3TXGG/kPVEkYKs= X-Received: by 2002:a05:6402:1d19:: with SMTP id dg25mr26163918edb.218.1616423533158; Mon, 22 Mar 2021 07:32:13 -0700 (PDT) Received: from agape ([151.57.176.11]) by smtp.gmail.com with ESMTPSA id u59sm11994141edc.73.2021.03.22.07.32.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Mar 2021 07:32:12 -0700 (PDT) From: Fabio Aiuto To: gregkh@linuxfoundation.org Cc: joe@perches.com, apw@canonical.com, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Fabio Aiuto Subject: [PATCH 02/11] staging: rtl8723bs: moved function prototypes out of core/rtw_efuse.c Date: Mon, 22 Mar 2021 15:31:40 +0100 Message-Id: X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org fix the following checkpatch issues: WARNING: externs should be avoided in .c files 35: FILE: drivers/staging/rtl8723bs/core/rtw_efuse.c:35: +bool moved two function prototypes in include/rtw_efuse.h Signed-off-by: Fabio Aiuto --- drivers/staging/rtl8723bs/core/rtw_efuse.c | 10 ---------- drivers/staging/rtl8723bs/include/rtw_efuse.h | 3 +++ 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/drivers/staging/rtl8723bs/core/rtw_efuse.c b/drivers/staging/rtl8723bs/core/rtw_efuse.c index 32ca10f01413..0772397738d4 100644 --- a/drivers/staging/rtl8723bs/core/rtw_efuse.c +++ b/drivers/staging/rtl8723bs/core/rtw_efuse.c @@ -32,11 +32,6 @@ u8 fakeBTEfuseModifiedMap[EFUSE_BT_MAX_MAP_LEN] = {0}; #define REG_EFUSE_CTRL 0x0030 #define EFUSE_CTRL REG_EFUSE_CTRL /* E-Fuse Control. */ -bool -Efuse_Read1ByteFromFakeContent( - struct adapter *padapter, - u16 Offset, - u8 *Value); bool Efuse_Read1ByteFromFakeContent( struct adapter *padapter, @@ -53,11 +48,6 @@ Efuse_Read1ByteFromFakeContent( return true; } -bool -Efuse_Write1ByteToFakeContent( - struct adapter *padapter, - u16 Offset, - u8 Value); bool Efuse_Write1ByteToFakeContent( struct adapter *padapter, diff --git a/drivers/staging/rtl8723bs/include/rtw_efuse.h b/drivers/staging/rtl8723bs/include/rtw_efuse.h index 5bae46ecd9de..1f304df8c421 100644 --- a/drivers/staging/rtl8723bs/include/rtw_efuse.h +++ b/drivers/staging/rtl8723bs/include/rtw_efuse.h @@ -103,6 +103,9 @@ extern u8 fakeBTEfuseInitMap[]; extern u8 fakeBTEfuseModifiedMap[]; /*------------------------Export global variable----------------------------*/ +bool Efuse_Read1ByteFromFakeContent(struct adapter *padapter, u16 Offset, u8 *Value); +bool Efuse_Write1ByteToFakeContent(struct adapter *padapter, u16 Offset, u8 Value); + u16 Efuse_GetCurrentSize(struct adapter *padapter, u8 efuseType, bool bPseudoTest); u8 Efuse_CalculateWordCnts(u8 word_en); void EFUSE_GetEfuseDefinition(struct adapter *padapter, u8 efuseType, u8 type, void *pOut, bool bPseudoTest); -- 2.20.1