The driver is already in a directory named rtl8xxxu, there's no need to
duplicate that in the filename as well. Now file listing looks a lot more
reasonable:
8188e.c 8192c.c 8192f.c 8723a.c core.c Makefile rtl8xxxu.h
8188f.c 8192e.c 8710b.c 8723b.c Kconfig regs.h
No functional changes, compile tested only.
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Reviewed-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://msgid.link/20240426141939.3881678-2-kvalo@kernel.org
#include <linux/moduleparam.h>
#include <net/mac80211.h>
#include "rtl8xxxu.h"
-#include "rtl8xxxu_regs.h"
+#include "regs.h"
static const struct rtl8xxxu_reg8val rtl8188e_mac_init_table[] = {
{0x026, 0x41}, {0x027, 0x35}, {0x040, 0x00}, {0x421, 0x0f},
#include <linux/moduleparam.h>
#include <net/mac80211.h>
#include "rtl8xxxu.h"
-#include "rtl8xxxu_regs.h"
+#include "regs.h"
static const struct rtl8xxxu_reg8val rtl8188f_mac_init_table[] = {
{0x024, 0xDF}, {0x025, 0x07}, {0x02B, 0x1C}, {0x283, 0x20},
#include <linux/moduleparam.h>
#include <net/mac80211.h>
#include "rtl8xxxu.h"
-#include "rtl8xxxu_regs.h"
+#include "regs.h"
#ifdef CONFIG_RTL8XXXU_UNTESTED
static struct rtl8xxxu_power_base rtl8192c_power_base = {
#include <linux/moduleparam.h>
#include <net/mac80211.h>
#include "rtl8xxxu.h"
-#include "rtl8xxxu_regs.h"
+#include "regs.h"
static const struct rtl8xxxu_reg8val rtl8192e_mac_init_table[] = {
{0x011, 0xeb}, {0x012, 0x07}, {0x014, 0x75}, {0x303, 0xa7},
#include <linux/moduleparam.h>
#include <net/mac80211.h>
#include "rtl8xxxu.h"
-#include "rtl8xxxu_regs.h"
+#include "regs.h"
static const struct rtl8xxxu_reg8val rtl8192f_mac_init_table[] = {
{0x420, 0x00}, {0x422, 0x78}, {0x428, 0x0a}, {0x429, 0x10},
#include <linux/moduleparam.h>
#include <net/mac80211.h>
#include "rtl8xxxu.h"
-#include "rtl8xxxu_regs.h"
+#include "regs.h"
static const struct rtl8xxxu_reg8val rtl8710b_mac_init_table[] = {
{0x421, 0x0F}, {0x428, 0x0A}, {0x429, 0x10}, {0x430, 0x00},
#include <linux/moduleparam.h>
#include <net/mac80211.h>
#include "rtl8xxxu.h"
-#include "rtl8xxxu_regs.h"
+#include "regs.h"
static struct rtl8xxxu_power_base rtl8723a_power_base = {
.reg_0e00 = 0x0a0c0c0c,
#include <linux/moduleparam.h>
#include <net/mac80211.h>
#include "rtl8xxxu.h"
-#include "rtl8xxxu_regs.h"
+#include "regs.h"
static const struct rtl8xxxu_reg8val rtl8723b_mac_init_table[] = {
{0x02f, 0x30}, {0x035, 0x00}, {0x039, 0x08}, {0x04e, 0xe0},
# SPDX-License-Identifier: GPL-2.0-only
obj-$(CONFIG_RTL8XXXU) += rtl8xxxu.o
-rtl8xxxu-y := rtl8xxxu_core.o rtl8xxxu_8192e.o rtl8xxxu_8723b.o \
- rtl8xxxu_8723a.o rtl8xxxu_8192c.o rtl8xxxu_8188f.o \
- rtl8xxxu_8188e.o rtl8xxxu_8710b.o rtl8xxxu_8192f.o
+rtl8xxxu-y := core.o 8192e.o 8723b.o \
+ 8723a.o 8192c.o 8188f.o \
+ 8188e.o 8710b.o 8192f.o
#include <linux/moduleparam.h>
#include <net/mac80211.h>
#include "rtl8xxxu.h"
-#include "rtl8xxxu_regs.h"
+#include "regs.h"
#define DRIVER_NAME "rtl8xxxu"