Subject: RE: [PATCH v3 08/11] rtw88: Add rtw8821cu chipset support

From: Ping-Ke Shih <[email-masked]>
Date: Mon, 28 Nov 2022 02:13:33 +0000

> -----Original Message-----
> From: Sascha Hauer <[email-masked]>
> Sent: Tuesday, November 22, 2022 10:52 PM
> To: [email-masked]
> Cc: Neo Jou <[email-masked]>; Hans Ulli Kroll <[email-masked]>; Ping-Ke Shih <[email-masked]>;
> Yan-Hsuan Chuang <[email-masked]>; Kalle Valo <[email-masked]>; [email-masked];
> [email-masked]; Martin Blumenstingl <[email-masked]>;
> [email-masked]; Johannes Berg <[email-masked]>; Alexander Hochbaum <[email-masked]>;
> Da Xue <[email-masked]>; Bernie Huang <[email-masked]>; Viktor Petrenko <[email-masked]>;
> Sascha Hauer <[email-masked]>
> Subject: [PATCH v3 08/11] rtw88: Add rtw8821cu chipset support
> 
> Add support for the rtw8821cu chipset based on
> https://github.com/ulli-kroll/rtw88-usb.git
> 
> Signed-off-by: Sascha Hauer <[email-masked]>
> ---
> 
> Notes:
>     Changes since v2:
>     - Fix txdesc checksum calculation. The checksum must be calculated over
>       a fixed number of words.
> 
>  drivers/net/wireless/realtek/rtw88/Kconfig    | 11 ++++
>  drivers/net/wireless/realtek/rtw88/Makefile   |  3 ++
>  drivers/net/wireless/realtek/rtw88/rtw8821c.c | 18 +++++++
>  drivers/net/wireless/realtek/rtw88/rtw8821c.h | 21 ++++++++
>  .../net/wireless/realtek/rtw88/rtw8821cu.c    | 50 +++++++++++++++++++
>  .../net/wireless/realtek/rtw88/rtw8821cu.h    | 10 ++++
>  6 files changed, 113 insertions(+)
>  create mode 100644 drivers/net/wireless/realtek/rtw88/rtw8821cu.c
>  create mode 100644 drivers/net/wireless/realtek/rtw88/rtw8821cu.h
> 

[...]

> --- /dev/null
> +++ b/drivers/net/wireless/realtek/rtw88/rtw8821cu.h
> @@ -0,0 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
> +/* Copyright(c) 2018-2019  Realtek Corporation
> + */
> +
> +#ifndef __RTW_8821CU_H_
> +#define __RTW_8821CU_H_
> +
> +extern struct rtw_chip_info rtw8821c_hw_spec;

This has been moved to rtw8821c.h by
89d8f53ff6e ("wifi: rtw88: Fix Sparse warning for rtw8821c_hw_spec")

So, we don't need rtw8821cu.h anymore. 
Please apply this rule to other chips.

> +
> +#endif
> --
> 2.30.2