drivers: max77693: Move state container to common header
[deliverable/linux.git] / drivers / extcon / extcon-max77693.c
index 770db3a72a6a342083e270bf6548b92506e954aa..c7bb180cfff456939c1e72621c876b6ed4496763 100644 (file)
@@ -24,6 +24,7 @@
 #include <linux/err.h>
 #include <linux/platform_device.h>
 #include <linux/mfd/max77693.h>
+#include <linux/mfd/max77693-common.h>
 #include <linux/mfd/max77693-private.h>
 #include <linux/extcon.h>
 #include <linux/regmap.h>
@@ -1077,7 +1078,7 @@ static int max77693_muic_probe(struct platform_device *pdev)
                dev_dbg(&pdev->dev, "allocate register map\n");
        } else {
                info->max77693->regmap_muic = devm_regmap_init_i2c(
-                                               info->max77693->muic,
+                                               info->max77693->i2c_muic,
                                                &max77693_muic_regmap_config);
                if (IS_ERR(info->max77693->regmap_muic)) {
                        ret = PTR_ERR(info->max77693->regmap_muic);
This page took 0.031253 seconds and 5 git commands to generate.