Skip to content

Commit

Permalink
mfd: max8997: Replace 8998 with 8997
Browse files Browse the repository at this point in the history
The max8997 header is using "max8998" in some identifiers.
Fix it by replacing 8998 with 8997 in enum and macro.

Signed-off-by: Timon Baetz <timon.baetz@protonmail.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
  • Loading branch information
Timon Baetz authored and Lee Jones committed Apr 14, 2021
1 parent 40cb71f commit 0b79c53
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions include/linux/mfd/max8997.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
* others and b) it can be enabled simply by using MAX17042 driver.
*/

#ifndef __LINUX_MFD_MAX8998_H
#define __LINUX_MFD_MAX8998_H
#ifndef __LINUX_MFD_MAX8997_H
#define __LINUX_MFD_MAX8997_H

#include <linux/regulator/consumer.h>

/* MAX8997/8966 regulator IDs */
enum max8998_regulators {
enum max8997_regulators {
MAX8997_LDO1 = 0,
MAX8997_LDO2,
MAX8997_LDO3,
Expand Down Expand Up @@ -207,4 +207,4 @@ struct max8997_platform_data {
struct max8997_led_platform_data *led_pdata;
};

#endif /* __LINUX_MFD_MAX8998_H */
#endif /* __LINUX_MFD_MAX8997_H */

0 comments on commit 0b79c53

Please sign in to comment.