summaryrefslogtreecommitdiff
path: root/patches/collateral-evolutions/network/81-genl-const/hwsim.patch
blob: d720dda4b47591e38d1df122946abe5d1825082e (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/drivers/net/wireless/mac80211_hwsim.c
+++ b/drivers/net/wireless/mac80211_hwsim.c
@@ -2097,7 +2097,7 @@ out:
 }
 
 /* Generic Netlink operations array */
-static const struct genl_ops hwsim_ops[] = {
+static __genl_const struct genl_ops hwsim_ops[] = {
 	{
 		.cmd = HWSIM_CMD_REGISTER,
 		.policy = hwsim_genl_policy,