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>
This commit is contained in:
Родитель
acde541324
Коммит
7236aa03ff
|
@ -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;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче