commit | 4707fde5cdefc73c408915af2579c4acaf49ade4 | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Tue Sep 22 12:24:31 2015 +0200 |
committer | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | Thu Nov 26 16:38:50 2015 +0200 |
tree | a240ace8b7b9b0078a9d8fbefde87ff8d9c69e28 | |
parent | 59fd4bf64591fbd02c6115d9282e2e7cffefa6e1 [diff] |
iwlwifi: mvm: use build-time assertion for fw trigger ID The firmware debug trigger ID is always a compile-time constant, so we can use a build-time assertion to validate that it is in fact a valid constant. To make that really guaranteed to work, convert this and the inline function iwl_fw_dbg_trigger_simple_stop() to macros. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>