Skip to content

Commit

Permalink
drm/tegra: Use proper data type
Browse files Browse the repository at this point in the history
The last argument to of_get_property() is a pointer to an int, rather
than size_t.

Signed-off-by: Thierry Reding <[email protected]>
  • Loading branch information
thierryreding committed Jan 14, 2014
1 parent acde541 commit 7236aa0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/gpu/drm/tegra/output.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 7236aa0

Please sign in to comment.