projects
/
platform
/
kernel
/
linux-rpi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mfd: intel-lpss: Fix the fractional clock divider flags
[platform/kernel/linux-rpi.git]
/
drivers
/
mfd
/
hi6421-pmic-core.c
diff --git
a/drivers/mfd/hi6421-pmic-core.c
b/drivers/mfd/hi6421-pmic-core.c
index
cb5cf4a
..
a6a8905
100644
(file)
--- a/
drivers/mfd/hi6421-pmic-core.c
+++ b/
drivers/mfd/hi6421-pmic-core.c
@@
-59,7
+59,7
@@
static int hi6421_pmic_probe(struct platform_device *pdev)
id = of_match_device(of_hi6421_pmic_match, &pdev->dev);
if (!id)
return -EINVAL;
- type = (
enum hi6421_type
)id->data;
+ type = (
uintptr_t
)id->data;
pmic = devm_kzalloc(&pdev->dev, sizeof(*pmic), GFP_KERNEL);
if (!pmic)