On Thu, 12 Nov 2015 09:47:50 +0100
Johannes Berg <johan...@sipsolutions.net> wrote:


> +#define __DEFINE_HWFLAG(_flg, _on, _off)                             \
> +     HWFLAGS_DEFSTATE_##_flg = -1 + ((_on) ^ (_off)) * (1 + _on),
> +#define DEFINE_HWFLAG(_flg)                                          \
> +     __DEFINE_HWFLAG(_flg,                                           \
> +                     IS_ENABLED(CONFIG_MAC80211_HW_##_flg##_ON),     \
> +                     IS_ENABLED(CONFIG_MAC80211_HW_##_flg##_OFF))
> +#include <net/mac80211-hwflags.h>
> +#undef DEFINE_HWFLAG

You learned to use the MACRO force well, young Skywalker.

-- Steve

>  };
>  
>  bool _____optimisation_missing(void);

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to