1
0
Fork 0

MLK-19870-2: mfd: bd71840: add bd71840 pmic

Add bd71840 driver name to sync the product name on board.

Signed-off-by: Robin Gong <yibin.gong@nxp.com>
pull/10/head
Robin Gong 2018-10-11 20:15:12 +08:00 committed by Jason Liu
parent 84d55b9736
commit bf1929b787
1 changed files with 2 additions and 0 deletions

View File

@ -136,6 +136,7 @@ static const struct regmap_config bd71837_regmap_config = {
#ifdef CONFIG_OF
static struct of_device_id bd71837_of_match[] = {
{ .compatible = "rohm,bd71837", .data = (void *)0},
{ .compatible = "rohm,bd71840", .data = (void *)0},
{ },
};
MODULE_DEVICE_TABLE(of, bd71837_of_match);
@ -275,6 +276,7 @@ static int bd71837_i2c_remove(struct i2c_client *i2c)
static const struct i2c_device_id bd71837_i2c_id[] = {
{ "bd71837", 0 },
{ "bd71840", 0 },
{ }
};
MODULE_DEVICE_TABLE(i2c, bd71837_i2c_id);