OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
thermal/drivers/samsung: Fix Wvoid-pointer-to-enum-cast warning
[tomoyo/tomoyo-test1.git]
/
drivers
/
thermal
/
samsung
/
exynos_tmu.c
diff --git
a/drivers/thermal/samsung/exynos_tmu.c
b/drivers/thermal/samsung/exynos_tmu.c
index
58f4d8f
..
e5bc2c8
100644
(file)
--- a/
drivers/thermal/samsung/exynos_tmu.c
+++ b/
drivers/thermal/samsung/exynos_tmu.c
@@
-887,7
+887,7
@@
static int exynos_map_dt_data(struct platform_device *pdev)
return -EADDRNOTAVAIL;
}
- data->soc = (
enum soc_type
)of_device_get_match_data(&pdev->dev);
+ data->soc = (
uintptr_t
)of_device_get_match_data(&pdev->dev);
switch (data->soc) {
case SOC_ARCH_EXYNOS4210: