iwlwifi: mvm: fix tof.h header guard
Subsystems (3)
PATCH 1/1 iwlwifi: mvm: fix tof.h header guard
Commit ce7929186a39 ("iwlwifi: mvm: add basic Time of Flight (802.11mc FTM) support") created drivers/net/wireless/iwlwifi/mvm/tof.h with a broken header guard:
#ifndef __tof
#define __tof_h__
...
#endif /* __tof_h__ */Use __tof_h__ in the first line.
Signed-off-by Nicolas Iooss <[email protected]>
--- drivers/net/wireless/iwlwifi/mvm/tof.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wireless/iwlwifi/mvm/tof.h +1 -1
@@ -60,7 +60,7 @@* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * *****************************************************************************/ -#ifndef __tof +#ifndef __tof_h__#define __tof_h__#include "fw-api-tof.h"
Signature · 1 line
2.5.1
Johannes Berg
maintainerQuoted 5 lines · Nicolas Iooss
Commit
ce7929186a39("iwlwifi: mvm: add basic Time of Flight (802.11mc
FTM) support") createddrivers/net/wireless/iwlwifi/mvm/tof.hwith a broken header guard:
Quoted 9 lines
#ifndef __tof #define __tof_h__ ... #endif /* __tof_h__ */Use
__tof_h__in the first line.
Thanks, I applied it to our development tree.
johannes