[1/7] drm/tegra: Include <linux/of.h>

Thomas Zimmermann tzimmermann at suse.de
Mon Apr 3 10:42:05 UTC 2023



Am 30.03.23 um 14:51 schrieb Sui Jingfeng:
> 
> Reviewed-by: Sui Jingfeng <suijingfeng at loongson.cn 
> <mailto:suijingfeng at loongson.cn>>

Thanks a lot.

> 
> 
> On 2023/3/30 16:36, Thomas Zimmermann wrote:
>> Include <linux/of.h> to get the contained declarations. No functional
>> changes.
>>
>> Signed-off-by: Thomas Zimmermann <tzimmermann at suse.de>
>> ---
>>   drivers/gpu/drm/tegra/output.c | 2 ++
>>   drivers/gpu/drm/tegra/rgb.c    | 1 +
>>   2 files changed, 3 insertions(+)
>>
>> diff --git a/drivers/gpu/drm/tegra/output.c 
>> b/drivers/gpu/drm/tegra/output.c
>> index a8925dcd7edd..d31c87f48da0 100644
>> --- a/drivers/gpu/drm/tegra/output.c
>> +++ b/drivers/gpu/drm/tegra/output.c
>> @@ -4,6 +4,8 @@
>>    * Copyright (C) 2012 NVIDIA CORPORATION.  All rights reserved.
>>    */
>> +#include <linux/of.h>
>> +
>>   #include <drm/drm_atomic_helper.h>
>>   #include <drm/drm_of.h>
>>   #include <drm/drm_panel.h>
>> diff --git a/drivers/gpu/drm/tegra/rgb.c b/drivers/gpu/drm/tegra/rgb.c
>> index ff8fce36d2aa..3f060282cd8d 100644
>> --- a/drivers/gpu/drm/tegra/rgb.c
>> +++ b/drivers/gpu/drm/tegra/rgb.c
>> @@ -5,6 +5,7 @@
>>    */
>>   #include <linux/clk.h>
>> +#include <linux/of.h>
>>   #include <drm/drm_atomic_helper.h>
>>   #include <drm/drm_bridge_connector.h>

-- 
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Maxfeldstr. 5, 90409 Nürnberg, Germany
(HRB 36809, AG Nürnberg)
Geschäftsführer: Ivo Totev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20230403/ae491304/attachment.sig>


More information about the dri-devel mailing list