Search Linux Wireless

[PATCH 3/4] compat-wireless: remove 25-device_create.patch, it's handled by compat

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Pavel Roskin <proski@xxxxxxx>
---
 patches/25-device_create.patch |   20 --------------------
 1 files changed, 0 insertions(+), 20 deletions(-)
 delete mode 100644 patches/25-device_create.patch

diff --git a/patches/25-device_create.patch b/patches/25-device_create.patch
deleted file mode 100644
index 232816e..0000000
--- a/patches/25-device_create.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- a/drivers/net/wireless/mac80211_hwsim.c
-+++ b/drivers/net/wireless/mac80211_hwsim.c
-@@ -1211,8 +1211,17 @@ static int __init init_mac80211_hwsim(vo
- 		data = hw->priv;
- 		data->hw = hw;
- 
-+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,27))
- 		data->dev = device_create(hwsim_class, NULL, 0, hw,
- 					  "hwsim%d", i);
-+#elif (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,26))
-+		data->dev = device_create_drvdata(hwsim_class, NULL, 0, hw,
-+					  "hwsim%d", i);
-+#else
-+		data->dev = device_create(hwsim_class, NULL, 0,
-+					  "hwsim%d", i);
-+		dev_set_drvdata(data->dev, hw);
-+#endif
- 		if (IS_ERR(data->dev)) {
- 			printk(KERN_DEBUG
- 			       "mac80211_hwsim: device_create "
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux