projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
acde541
)
drm/tegra: Use proper data type
author
Thierry Reding
<treding@nvidia.com>
Mon, 13 Jan 2014 12:58:17 +0000
(13:58 +0100)
committer
Thierry Reding
<treding@nvidia.com>
Tue, 14 Jan 2014 13:39:38 +0000
(14:39 +0100)
The last argument to of_get_property() is a pointer to an int, rather
than size_t.
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/output.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/tegra/output.c
b/drivers/gpu/drm/tegra/output.c
index 921e4001a09021c8478ce9d634bd604a04271a82..57cecbd18ca88d210a6e83e61c3f3cff208f26e5 100644
(file)
--- a/
drivers/gpu/drm/tegra/output.c
+++ b/
drivers/gpu/drm/tegra/output.c
@@
-191,8
+191,7
@@
int tegra_output_probe(struct tegra_output *output)
{
struct device_node *ddc, *panel;
enum of_gpio_flags flags;
- size_t size;
- int err;
+ int err, size;
if (!output->of_node)
output->of_node = output->dev->of_node;