summaryrefslogtreecommitdiff
path: root/drivers/mfd/lp87565.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mfd/lp87565.c')
-rw-r--r--drivers/mfd/lp87565.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/lp87565.c b/drivers/mfd/lp87565.c
index 88ce4d7c50a7..1b7f8349911d 100644
--- a/drivers/mfd/lp87565.c
+++ b/drivers/mfd/lp87565.c
@@ -92,7 +92,7 @@ static int lp87565_probe(struct i2c_client *client)
of_id = of_match_device(of_lp87565_match_table, &client->dev);
if (of_id)
- lp87565->dev_type = (enum lp87565_device_type)of_id->data;
+ lp87565->dev_type = (uintptr_t)of_id->data;
i2c_set_clientdata(client, lp87565);