Skip to contentSkip to conversation

mfd: stmfx.h: typo in the header guard

PATCH In review Denis Efremov 2 participants 2 messages Jun 23, 2019 – Jun 24, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mfd: stmfx.h: typo in the header guard

The guard macro MFX_STMFX_H in the header stmfx.h doesn't match the #ifndef macro MFD_STMFX_H. The patch fixes the typo.

---
 include/linux/mfd/stmfx.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/mfd/stmfx.h +1 -1
index d890595b89b6..3c67983678ec 100644
@@ -5,7 +5,7 @@
  */
 
 #ifndef MFD_STMFX_H
-#define MFX_STMFX_H
+#define MFD_STMFX_H
 
 #include <linux/regmap.h>
 
Signature · 1 line
2.21.0
#1 lore raw
Quoted 15 lines · Denis Efremov

The guard macro MFX_STMFX_H in the header stmfx.h doesn't match the #ifndef macro MFD_STMFX_H. The patch fixes the typo.

---
  include/linux/mfd/stmfx.h | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/mfd/stmfx.h +0 -0
index d890595b89b6..3c67983678ec 100644

include/linux/mfd/stmfx.h line 11

Quoted 8 lines
include/linux/mfd/stmfx.h +1 -1
@@ -5,7 +5,7 @@
   */
 
  #ifndef MFD_STMFX_H
-#define MFX_STMFX_H
+#define MFD_STMFX_H
 
  #include <linux/regmap.h>
 

Hi Denis,

Thanks for your patch. Nathan already sent a fix for that:
https://lkml.org/lkml/2019/5/10/777.

Regards,
Amelie