build/patch/kernel/archive/sunxi-6.5/patches.megous/bes2600-Port-to-Linux-6.5.patch

39 lines
1.5 KiB
Diff
Raw Normal View History

From 1064cdfca9f08426889073c2b286c10b143f8334 Mon Sep 17 00:00:00 2001
From: Ondrej Jirman <megi@xff.cz>
Date: Sat, 29 Jul 2023 22:32:24 +0200
Subject: [PATCH 407/464] 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 e4c81cf0c922..00abc2a3ab35 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 cc33b16a3b5a..29c2e5a6cbb2 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.34.1