Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp564062imn; Wed, 3 Aug 2022 15:53:18 -0700 (PDT) X-Google-Smtp-Source: AGRyM1ubyRw7yEQBP3QsLvLYKB3pP45ilm+wfD0Krk/YThK42QgVu74TMgqsA/J47pUgdpJQvt72 X-Received: by 2002:a63:5903:0:b0:41a:767:7adc with SMTP id n3-20020a635903000000b0041a07677adcmr23206811pgb.615.1659567197998; Wed, 03 Aug 2022 15:53:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659567197; cv=none; d=google.com; s=arc-20160816; b=oY7d+Q6lH8Vvi/f6CD3X/+VuIx/nSzVlibBTED0zDj3lb0bLCTwrfnA/EN8E/GlAas joxRCBJgONyHv6coFb8ZjEr/jWElvPmNvUlyXZqeEQ50jSAnlByqu5vhttjWtbZD+Rmp hXaQRYpL+IxhNlR6P3R0W2wgFoGHQH9KWWm4Hwr10v8dD9y51gX/6AH6NiIGyGMvv6mV C0uqokoDIEv25dwRrqBsUyD3Fop1ZVtP/J2hXvdaVGLMzOkX0GWhLZ2zwNEtt8GWDXc+ KNxxxyqFveJNRtlFpJBrsUCeNReZr532DFITs757VarwSf4qIReVs+9kMQdTeBRxERob L1Iw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:mail-followup-to:message-id:subject:cc:to:from:date; bh=wExA5XWTzDy8Kfeh2jcWpKa6MbBh1YlFzpEyhdlrH8A=; b=ifGJQzHSBfu5M68an4W7VjEjEYX6k0lLPt2wVbPyx9mbmtlEGNKi3ylYiypSIWh6Kz pa0bl8AKiNG5MNOe8cGEbxDlU10SqWUOZhM9+CD0XEPfgTCpFutqmYc5cz3kh/6eEe8i BNmc4C3JIWjtn/IfHPTyRC6N3HCtVIV+L4JHCPjUZRjzdgpBobeXim1RtqnvFPI+oM1z kL+s6gendcmN5335VY6W3XflwXJKuvB4wVxWAOZ4GHHlpdZr8XyvnVHD+KIwqFs6K67F ZzLIm8okLjdxvDrjwS8uQC9Rh8nC1KrwhV/0sSdjkDnphII/pLk9SHA8vrZw0N8ZTBZR sa/w== 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=short.pl Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v17-20020a63f851000000b0040cf53f9b98si19203953pgj.226.2022.08.03.15.53.03; Wed, 03 Aug 2022 15:53:17 -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=short.pl Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238938AbiHCW3f (ORCPT + 99 others); Wed, 3 Aug 2022 18:29:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52198 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238929AbiHCW3Y (ORCPT ); Wed, 3 Aug 2022 18:29:24 -0400 Received: from mx01.ayax.eu (mx01.ayax.eu [188.137.98.110]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BA25D5D0CF for ; Wed, 3 Aug 2022 15:29:22 -0700 (PDT) Received: from [192.168.192.146] (port=37218 helo=nx64de-df6d00) by mx01.ayax.eu with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oJMrY-0008TZ-5K; Thu, 04 Aug 2022 00:29:14 +0200 Date: Thu, 4 Aug 2022 00:29:10 +0200 From: Grzegorz Szymaszek To: Larry Finger , Phillip Potter Cc: Greg KH , Grzegorz Szymaszek , linux-kernel@vger.kernel.org, linux-staging@lists.linux.dev Subject: [PATCH 3/3] staging: r8188eu: make driver metadata macro names more consistent Message-ID: <7cc838a1e7f64c9aa88deffdb7986fbe55753be8.1659565180.git.gszymaszek@short.pl> Mail-Followup-To: Grzegorz Szymaszek , Larry Finger , Phillip Potter , Greg KH , linux-kernel@vger.kernel.org, linux-staging@lists.linux.dev References: <6c83e05e5dbccff5630ccfed9e40bf84c889b647.1659565180.git.gszymaszek@short.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6c83e05e5dbccff5630ccfed9e40bf84c889b647.1659565180.git.gszymaszek@short.pl> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, 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 Rename DRIVERVERSION to DRV_VERSION so that it looks more alike the other macros, DRV_NAME and FW_*, and matches the most popular (as it seems from a quick review) conventions in other drivers. Signed-off-by: Grzegorz Szymaszek --- drivers/staging/r8188eu/include/drv_types.h | 5 ++--- drivers/staging/r8188eu/os_dep/os_intfs.c | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/staging/r8188eu/include/drv_types.h b/drivers/staging/r8188eu/include/drv_types.h index f51b83515953..3328c66d1ef1 100644 --- a/drivers/staging/r8188eu/include/drv_types.h +++ b/drivers/staging/r8188eu/include/drv_types.h @@ -10,8 +10,6 @@ #ifndef __DRV_TYPES_H__ #define __DRV_TYPES_H__ -#define DRV_NAME "r8188eu" - #include "osdep_service.h" #include "wlan_bssdef.h" #include "rtw_ht.h" @@ -36,7 +34,8 @@ #include "rtl8188e_hal.h" #include "rtw_fw.h" -#define DRIVERVERSION "v4.1.4_6773.20130222" +#define DRV_NAME "r8188eu" +#define DRV_VERSION "v4.1.4_6773.20130222" #define FW_RTL8188EU "rtlwifi/rtl8188eufw.bin" struct registry_priv { diff --git a/drivers/staging/r8188eu/os_dep/os_intfs.c b/drivers/staging/r8188eu/os_dep/os_intfs.c index 5985054da935..d9abd2a98e1b 100644 --- a/drivers/staging/r8188eu/os_dep/os_intfs.c +++ b/drivers/staging/r8188eu/os_dep/os_intfs.c @@ -17,7 +17,7 @@ MODULE_LICENSE("GPL"); MODULE_DESCRIPTION("Realtek Wireless Lan Driver"); MODULE_AUTHOR("Realtek Semiconductor Corp."); -MODULE_VERSION(DRIVERVERSION); +MODULE_VERSION(DRV_VERSION); MODULE_FIRMWARE(FW_RTL8188EU); #define CONFIG_BR_EXT_BRNAME "br0" -- 2.35.1