2019-06-23 14:48:28

by Denis Efremov (Oracle)

[permalink] [raw]
Subject: [PATCH] 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.

Signed-off-by: Denis Efremov <[email protected]>
---
include/linux/mfd/stmfx.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

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>

--
2.21.0


2019-06-24 07:22:04

by Amelie Delaunay

[permalink] [raw]
Subject: Re: [PATCH] mfd: stmfx.h: typo in the header guard

On 6/23/19 4:44 PM, Denis Efremov wrote:
> 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.
>
> Signed-off-by: Denis Efremov <[email protected]>
> ---
> include/linux/mfd/stmfx.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> 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>
>
>

Hi Denis,

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

Regards,
Amelie