ath9k-hmac/backports-3.12.8-1/backport-include/backport/checks.h

17 lines
553 B
C
Raw Normal View History

2016-09-26 13:44:25 +00:00
#ifndef __BACKPORT_CHECKS
#define __BACKPORT_CHECKS
#if defined(CPTCFG_BACKPORT_KERNEL_2_6_28) && defined(CONFIG_DYNAMIC_FTRACE)
#error "You can't build on a 2.6.27 or older kernel with dynamic ftrace, it's broken"
#endif
#if defined(CPTCFG_MAC80211) && defined(CPTCFG_MAC80211)
#error "You must not have mac80211 built into your kernel if you want to enable it"
#endif
#if defined(CPTCFG_CFG80211) && defined(CPTCFG_CFG80211)
#error "You must not have cfg80211 built into your kernel if you want to enable it"
#endif
#endif /* __BACKPORT_CHECKS */