From patchwork Sat Nov 5 10:00:29 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacob Bai X-Patchwork-Id: 15940 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp907005wru; Sat, 5 Nov 2022 03:03:47 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5lyrNt5KWq37WtI0uBq6CJVArdjU+BdSMhi0Job6Tyn/ZZFxXZm+A+FvzrvwLy1ISMs16Q X-Received: by 2002:a63:6a87:0:b0:46f:8fcc:de1a with SMTP id f129-20020a636a87000000b0046f8fccde1amr30398460pgc.429.1667642627123; Sat, 05 Nov 2022 03:03:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667642627; cv=none; d=google.com; s=arc-20160816; b=DoYvnWASf1/sUnZTMesuGDv/Lh0nP9G2RlIikhs8pXte4h/DkZb/5aMBKsKhtu3FpK 9GN70eyDI7JudLJcJ7UYrkoIgwn3A0Xnu3T4Uez+ZXC/vI7/4gBlJH1TM2JFcUNMjpaA GFrJohH/uF5Pavs0Xxo6li9BZACa3eSUSJCrl8PMKT01CPaoNzOj4ZulyClHCP5FuP3B Jfu2IfT6EVB2dEDdmKaVa7qLKU6oMUi8OpQTHRgRq61PfnTem4OsJWG4F9Ja56y+J1tY 6DD4c2Siu7ZnY2WcyxJWiP7TG+41/SvKJ1HrgvYp8JZf9oGvhjZuJw/G/C6faTO5/JfY dPbg== 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=1WNb21Jb0qdnUTEVIzTSpsX7MkahQuwX4NfPZNy1VsM=; b=YA6GDKjKuQfoXXhPM4b4GPtZ1eEgHkUsodcCWc96BySH6VqGf/tC/cIGZPfEpltV6S QyixBrnbbXg1YhpU2cQ+KT7qtAlzrfa7OseOCqaRvpTf8RKpjaUTwdzuSMGKNi8CWgCJ zMJy3FEH17LVf9A32Vw8KN5UBuwkDDmgdbm9wBnXRnio/e+vu4V6jS76PsUSR7ES40sl 1d3k6xTIKYwuORrW8JWRLjrdVE7xBrVoPtfPzJuaHJe/A0P7LPSv8950b4sFKkeUv/88 FAaLy3GDAEeHwmP0q26eFX37B9+QqYQwAI3dMYd5CJCMn1OcO9Nvm5UjOBRe0YRSBdsJ DREQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=coUxiydd; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q15-20020aa7960f000000b005631dab9f69si2049030pfg.301.2022.11.05.03.03.33; Sat, 05 Nov 2022 03:03:47 -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=@gmail.com header.s=20210112 header.b=coUxiydd; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229862AbiKEKBb (ORCPT + 99 others); Sat, 5 Nov 2022 06:01:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34890 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229805AbiKEKBA (ORCPT ); Sat, 5 Nov 2022 06:01:00 -0400 Received: from mail-pl1-x631.google.com (mail-pl1-x631.google.com [IPv6:2607:f8b0:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AD04A1C11C for ; Sat, 5 Nov 2022 03:00:41 -0700 (PDT) Received: by mail-pl1-x631.google.com with SMTP id c2so6978059plz.11 for ; Sat, 05 Nov 2022 03:00:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=1WNb21Jb0qdnUTEVIzTSpsX7MkahQuwX4NfPZNy1VsM=; b=coUxiydd73lN9DqlJUDE3bnZQi0s8Zji7APuZcY2TlMjEgZ9kyKnxhmtgbI4TavDas OEwzfKyNa+pA/zFyp0BdnM/FudzJ1T/3I/klUwyLbkkRwJN/P6PzQOtNQoOI3OwUX/TZ rJXixGmeuy95VgYGi/+RzPsxpJECl7MBF/G304pbLfNEOYdIoZbEwJASYSxaJ+gTF38/ pr4wUpC+S8D9YlvoEcfT5Q4dLmpU91KYWSaA/FqTa5DejQPmzEuSrH9MXmQ31YbmISPO v9MQGG/In+b2WGyTCt4B7/OIRQMlFwQYYkkfod0HvrrRa+1z5316cFjJ9PkjJ/5AW5Qa GEng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=1WNb21Jb0qdnUTEVIzTSpsX7MkahQuwX4NfPZNy1VsM=; b=iTjD28QO/iRH//gGqaoa5pyg9qcUPCYD5StN9vxL9LyvrUp5s9dPjplTu+z5EWxErY xd6qU+7Xj5ABdjd1z9/ejWUez+3niN2SstLqg+z53yq+miSJvl/wjfHG6hgL/bhB/5yU nKDk5SU0EKUByRZ88Dzr0QfRN71k/HljDJrPPj9AhlFI2UxVWJVUgyxezSE1/AVatX6+ 1M2xInaH8imdBQQlR7uHSCy6fn021cLzEFHq3yY/ny6HQTaPWMEcvHf196qFaKysx7/s AaHrAtSnqYwtjFlNuzMxEL4RFCG5STFRkE7stTADxNazv0z030XNAUV3C8UUdv3n/3CL pORA== X-Gm-Message-State: ACrzQf0bdSqFXeoSIWlrkTtTsYkuwqbm04AYyXqQ30LZN6nzqdIRDZkF BTmOAn1L/84PS6cWAxFeqfY= X-Received: by 2002:a17:902:a606:b0:178:57e4:a0c1 with SMTP id u6-20020a170902a60600b0017857e4a0c1mr39760979plq.83.1667642441220; Sat, 05 Nov 2022 03:00:41 -0700 (PDT) Received: from jacob-Ubuntu (126.224.215.218.sta.wbroadband.net.au. [218.215.224.126]) by smtp.gmail.com with ESMTPSA id ij22-20020a170902ab5600b0017f36638010sm1261363plb.276.2022.11.05.03.00.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 05 Nov 2022 03:00:40 -0700 (PDT) From: Jacob Bai To: gregkh@linuxfoundation.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Cc: Jacob Bai Subject: [PATCH 2/3] staging: rtl8192e: rename r8192E_hwimg.c/h to table.c/h Date: Sat, 5 Nov 2022 21:00:29 +1100 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748650035602229716?= X-GMAIL-MSGID: =?utf-8?q?1748650035602229716?= Same as other rtlwifi frivers, use table.c/h. Signed-off-by: Jacob Bai --- drivers/staging/rtl8192e/rtl8192e/Makefile | 2 +- drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c | 2 +- drivers/staging/rtl8192e/rtl8192e/{r8192E_hwimg.c => table.c} | 2 +- drivers/staging/rtl8192e/rtl8192e/{r8192E_hwimg.h => table.h} | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) rename drivers/staging/rtl8192e/rtl8192e/{r8192E_hwimg.c => table.c} (99%) rename drivers/staging/rtl8192e/rtl8192e/{r8192E_hwimg.h => table.h} (94%) diff --git a/drivers/staging/rtl8192e/rtl8192e/Makefile b/drivers/staging/rtl8192e/rtl8192e/Makefile index 75e6ec510555..334d92efd4ba 100644 --- a/drivers/staging/rtl8192e/rtl8192e/Makefile +++ b/drivers/staging/rtl8192e/rtl8192e/Makefile @@ -4,7 +4,7 @@ r8192e_pci-objs := \ r8192E_phy.o \ r8192E_firmware.o \ r8192E_cmdpkt.o \ - r8192E_hwimg.o \ + table.o \ r8190P_rtl8256.o \ rtl_cam.o \ rtl_core.o \ diff --git a/drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c b/drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c index 58da2dab55bd..eabb4187d907 100644 --- a/drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c +++ b/drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c @@ -12,7 +12,7 @@ #include "r8192E_phy.h" #include "rtl_dm.h" -#include "r8192E_hwimg.h" +#include "table.h" static u32 RF_CHANNEL_TABLE_ZEBRA[] = { 0, diff --git a/drivers/staging/rtl8192e/rtl8192e/r8192E_hwimg.c b/drivers/staging/rtl8192e/rtl8192e/table.c similarity index 99% rename from drivers/staging/rtl8192e/rtl8192e/r8192E_hwimg.c rename to drivers/staging/rtl8192e/rtl8192e/table.c index 8920283f340e..2e75f40db874 100644 --- a/drivers/staging/rtl8192e/rtl8192e/r8192E_hwimg.c +++ b/drivers/staging/rtl8192e/rtl8192e/table.c @@ -4,7 +4,7 @@ * * Contact Information: wlanfae */ -#include "r8192E_hwimg.h" +#include "table.h" u32 RTL8192E_PHY_REG_ARRAY[RTL8192E_PHY_REG_ARRAY_LEN] = {0x0,}; diff --git a/drivers/staging/rtl8192e/rtl8192e/r8192E_hwimg.h b/drivers/staging/rtl8192e/rtl8192e/table.h similarity index 94% rename from drivers/staging/rtl8192e/rtl8192e/r8192E_hwimg.h rename to drivers/staging/rtl8192e/rtl8192e/table.h index a436c089a779..a80176c47127 100644 --- a/drivers/staging/rtl8192e/rtl8192e/r8192E_hwimg.h +++ b/drivers/staging/rtl8192e/rtl8192e/table.h @@ -4,8 +4,8 @@ * * Contact Information: wlanfae */ -#ifndef __INC_HAL8192PciE_FW_IMG_H -#define __INC_HAL8192PciE_FW_IMG_H +#ifndef __RTL8192E_TABLE__H_ +#define __RTL8192E_TABLE__H_ /*Created on 2008/11/18, 3: 7*/