diff mbox series

[04/22] drm/amdgpu: make amd_asic_type.h self-contained

Message ID 115327b880b69b1c8ad157e5ff7f6b419868fab0.1709749576.git.jani.nikula@intel.com (mailing list archive)
State New, archived
Headers show
Series drm: fix headers, add header test facility | expand

Commit Message

Jani Nikula March 6, 2024, 6:31 p.m. UTC
Include <linux/types.h> for u8.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 include/drm/amd_asic_type.h | 3 +++
 1 file changed, 3 insertions(+)

Comments

Alex Deucher March 7, 2024, 2:36 p.m. UTC | #1
On Wed, Mar 6, 2024 at 1:43 PM Jani Nikula <jani.nikula@intel.com> wrote:
>
> Include <linux/types.h> for u8.
>
> Signed-off-by: Jani Nikula <jani.nikula@intel.com>

Acked-by: Alex Deucher <alexander.deucher@amd.com>

Do you want me to pick this up? Otherwise, feel free to take it via
whatever tree makes sense.

Alex

> ---
>  include/drm/amd_asic_type.h | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/include/drm/amd_asic_type.h b/include/drm/amd_asic_type.h
> index 724c45e3e9a7..9be85b821aa6 100644
> --- a/include/drm/amd_asic_type.h
> +++ b/include/drm/amd_asic_type.h
> @@ -22,6 +22,9 @@
>
>  #ifndef __AMD_ASIC_TYPE_H__
>  #define __AMD_ASIC_TYPE_H__
> +
> +#include <linux/types.h>
> +
>  /*
>   * Supported ASIC types
>   */
> --
> 2.39.2
>
Jani Nikula March 7, 2024, 3:02 p.m. UTC | #2
On Thu, 07 Mar 2024, Alex Deucher <alexdeucher@gmail.com> wrote:
> On Wed, Mar 6, 2024 at 1:43 PM Jani Nikula <jani.nikula@intel.com> wrote:
>>
>> Include <linux/types.h> for u8.
>>
>> Signed-off-by: Jani Nikula <jani.nikula@intel.com>
>
> Acked-by: Alex Deucher <alexander.deucher@amd.com>
>
> Do you want me to pick this up? Otherwise, feel free to take it via
> whatever tree makes sense.

Thanks, I'd like to take it along with the rest via drm-misc-next.

BR,
Jani.

>
> Alex
>
>> ---
>>  include/drm/amd_asic_type.h | 3 +++
>>  1 file changed, 3 insertions(+)
>>
>> diff --git a/include/drm/amd_asic_type.h b/include/drm/amd_asic_type.h
>> index 724c45e3e9a7..9be85b821aa6 100644
>> --- a/include/drm/amd_asic_type.h
>> +++ b/include/drm/amd_asic_type.h
>> @@ -22,6 +22,9 @@
>>
>>  #ifndef __AMD_ASIC_TYPE_H__
>>  #define __AMD_ASIC_TYPE_H__
>> +
>> +#include <linux/types.h>
>> +
>>  /*
>>   * Supported ASIC types
>>   */
>> --
>> 2.39.2
>>
diff mbox series

Patch

diff --git a/include/drm/amd_asic_type.h b/include/drm/amd_asic_type.h
index 724c45e3e9a7..9be85b821aa6 100644
--- a/include/drm/amd_asic_type.h
+++ b/include/drm/amd_asic_type.h
@@ -22,6 +22,9 @@ 
 
 #ifndef __AMD_ASIC_TYPE_H__
 #define __AMD_ASIC_TYPE_H__
+
+#include <linux/types.h>
+
 /*
  * Supported ASIC types
  */