summaryrefslogtreecommitdiff
path: root/include/linux/mfd/stmfx.h
diff options
context:
space:
mode:
authorNathan Chancellor <natechancellor@gmail.com>2019-05-10 18:23:01 -0700
committerLee Jones <lee.jones@linaro.org>2019-07-02 12:11:31 +0100
commitb1c83bd84618e5a3ec6395845d11803047a3ef9a (patch)
treec00f616a9bfc7f24a21396857d23a731e1790f6e /include/linux/mfd/stmfx.h
parent84bdde17c5d60dea93c1db60d87059c8ca772360 (diff)
mfd: stmfx: Fix macro definition spelling
Clang warns: In file included from drivers/mfd/stmfx.c:13: include/linux/mfd/stmfx.h:7:9: warning: 'MFD_STMFX_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] Fixes: 06252ade9156 ("mfd: Add ST Multi-Function eXpander (STMFX) core driver") Link: https://github.com/ClangBuiltLinux/linux/issues/475 Signed-off-by: Nathan Chancellor <natechancellor@gmail.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'include/linux/mfd/stmfx.h')
-rw-r--r--include/linux/mfd/stmfx.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mfd/stmfx.h b/include/linux/mfd/stmfx.h
index d890595b89b6..3c67983678ec 100644
--- a/include/linux/mfd/stmfx.h
+++ b/include/linux/mfd/stmfx.h
@@ -5,7 +5,7 @@
*/
#ifndef MFD_STMFX_H
-#define MFX_STMFX_H
+#define MFD_STMFX_H
#include <linux/regmap.h>