summaryrefslogtreecommitdiff
path: root/patches/collateral-evolutions/network/0027-genl-const/hwsim.patch
blob: 33cba175dda616a0bf55429bec302eacde8a738d (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
@@ -2483,7 +2483,7 @@ static int hwsim_destroy_radio_nl(struct
 }
 
 /* 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,