Message ID | eff524b78d1f851e3dc42999e68c286492f92b21.1659800938.git.christophe.jaillet@wanadoo.fr (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | ASoC: Fix the include guard used for include/sound/wm8904.h | expand |
On Sat, Aug 06, 2022 at 05:49:14PM +0200, Christophe JAILLET wrote: > __MFD_WM8994_PDATA_H__ is already used for: > include/linux/mfd/wm8994/pdata.h > > Based on file names, use __MFD_WM8904_PDATA_H__ instead here. > > Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> > --- Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com> Thanks, Charles
diff --git a/include/sound/wm8904.h b/include/sound/wm8904.h index 88ac1870510e..f74293a83a17 100644 --- a/include/sound/wm8904.h +++ b/include/sound/wm8904.h @@ -7,8 +7,8 @@ * Author: Mark Brown <broonie@opensource.wolfsonmicro.com> */ -#ifndef __MFD_WM8994_PDATA_H__ -#define __MFD_WM8994_PDATA_H__ +#ifndef __MFD_WM8904_PDATA_H__ +#define __MFD_WM8904_PDATA_H__ /* Used to enable configuration of a GPIO to all zeros */ #define WM8904_GPIO_NO_CONFIG 0x8000
__MFD_WM8994_PDATA_H__ is already used for: include/linux/mfd/wm8994/pdata.h Based on file names, use __MFD_WM8904_PDATA_H__ instead here. Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> --- Not sure of if a Fixes: tag is needed. If yes, I would use: 9e50108668a7 ("mfd: Add initial WM8994 support") which introduced the conflict, even if: a91eb199e4dc8 ("ASoC: Initial WM8904 CODEC driver") which introduced the typo is more logical. No strong opinion on it. --- include/sound/wm8904.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)