Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7236aa03 authored by Thierry Reding's avatar Thierry Reding
Browse files

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: default avatarThierry Reding <treding@nvidia.com>
parent acde5413
Loading
Loading
Loading
Loading
+1 −2
Original line number Original line Diff line number Diff line
@@ -191,8 +191,7 @@ int tegra_output_probe(struct tegra_output *output)
{
{
	struct device_node *ddc, *panel;
	struct device_node *ddc, *panel;
	enum of_gpio_flags flags;
	enum of_gpio_flags flags;
	size_t size;
	int err, size;
	int err;


	if (!output->of_node)
	if (!output->of_node)
		output->of_node = output->dev->of_node;
		output->of_node = output->dev->of_node;