From 1846a3ca888734f04bd2490e62afff187b0e1ca6 Mon Sep 17 00:00:00 2001
From: Ondrej Jirman <megi@xff.cz>
Date: Sat, 29 Jul 2023 22:32:24 +0200
Subject: [PATCH 005/463] bes2600: Port to Linux 6.5

---
 drivers/staging/bes2600/bes_chardev.c | 2 +-
 drivers/staging/bes2600/main.c        | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/staging/bes2600/bes_chardev.c b/drivers/staging/bes2600/bes_chardev.c
index e4c81cf0c9221..00abc2a3ab352 100644
--- a/drivers/staging/bes2600/bes_chardev.c
+++ b/drivers/staging/bes2600/bes_chardev.c
@@ -1250,7 +1250,7 @@ int bes2600_chrdev_init(struct sbus_ops *ops)
 	}
 
 	/* create class for creating device node */
-	bes2600_cdev.class = class_create(THIS_MODULE, "bes2600_chrdev");
+	bes2600_cdev.class = class_create("bes2600_chrdev");
 	if (IS_ERR(bes2600_cdev.class)){
 		bes2600_err(BES2600_DBG_CHARDEV, "bes2600 char device add fail\n");
 		ret = -EFAULT;
diff --git a/drivers/staging/bes2600/main.c b/drivers/staging/bes2600/main.c
index cc33b16a3b5a5..29c2e5a6cbb2c 100644
--- a/drivers/staging/bes2600/main.c
+++ b/drivers/staging/bes2600/main.c
@@ -275,6 +275,7 @@ static const struct ieee80211_iface_combination bes2600_if_comb[] = {
 static const struct ieee80211_ops bes2600_ops = {
 	.start			= bes2600_start,
 	.stop			= bes2600_stop,
+	.wake_tx_queue		= ieee80211_handle_wake_tx_queue,
 	.add_interface		= bes2600_add_interface,
 	.remove_interface	= bes2600_remove_interface,
 	.change_interface	= bes2600_change_interface,
-- 
2.46.0

