diff options
author | Thierry Reding <treding@nvidia.com> | 2014-01-13 07:58:17 -0500 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2014-01-14 08:39:38 -0500 |
commit | 7236aa03ff6e65e8678886a4d5ce12d780e1fd94 (patch) | |
tree | 5b934860a7754f3abd605f34b39a1a6233663084 /drivers/gpu | |
parent | acde541324dcfe443791da2f3926614d35429222 (diff) |
drm/tegra: Use proper data type
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>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/tegra/output.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/tegra/output.c b/drivers/gpu/drm/tegra/output.c index 921e4001a090..57cecbd18ca8 100644 --- 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) | |||
191 | { | 191 | { |
192 | struct device_node *ddc, *panel; | 192 | struct device_node *ddc, *panel; |
193 | enum of_gpio_flags flags; | 193 | enum of_gpio_flags flags; |
194 | size_t size; | 194 | int err, size; |
195 | int err; | ||
196 | 195 | ||
197 | if (!output->of_node) | 196 | if (!output->of_node) |
198 | output->of_node = output->dev->of_node; | 197 | output->of_node = output->dev->of_node; |