wlan-ap-Telecominfraproject/feeds/ipq95xx/mac80211/patches/qca/000-k-Revert-headers-Add-MHI-stuff-to-mod_devicetable.patch
John Crispin 144c5d00f4 ipq95xx/mac80211: update to ATH12.3-CS
Signed-off-by: John Crispin <john@phrozen.org>
2024-02-28 18:56:21 +01:00

41 lines
1.2 KiB
Diff

From 8afac3a8ddf832c33b4a7acff5687bae657c8c38 Mon Sep 17 00:00:00 2001
From: quic_nikhgurr <quic_nikhgurr@quicinc.com>
Date: Mon, 7 Feb 2022 11:33:32 +0000
Subject: Revert: "headers: Add MHI stuff to mod_devicetable"
This reverts commit: https://git.kernel.org/pub/scm/linux/kernel/git/backports/backports.git/commit/?id=8afac3a8ddf832c33b4a7acff5687bae657c8c38
Signed-off-by: quic_nikhgurr <quic_nikhgurr@quicinc.com>
---
backport/backport-include/linux/mod_devicetable.h | 15 ---------------
1 file changed, 15 deletions(-)
diff --git b/backport/backport-include/linux/mod_devicetable.h a/backport/backport-include/linux/mod_devicetable.h
index fc9beedb..ec0a3e62 100644
--- b/backport-include/linux/mod_devicetable.h
+++ a/backport-include/linux/mod_devicetable.h
@@ -14,19 +14,4 @@
#define HID_ANY_ID (~0)
#endif
-#if LINUX_VERSION_IS_LESS(5,7,0)
-#define MHI_DEVICE_MODALIAS_FMT "mhi:%s"
-#define MHI_NAME_SIZE 32
-
-/**
- * struct mhi_device_id - MHI device identification
- * @chan: MHI channel name
- * @driver_data: driver data;
- */
-struct mhi_device_id {
- const char chan[MHI_NAME_SIZE];
- kernel_ulong_t driver_data;
-};
-#endif
-
#endif /* __BACKPORT_MOD_DEVICETABLE_H */
--
2.25.1