diff options
| author | Andy Shevchenko <[email protected]> | 2023-10-25 18:42:57 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2023-12-15 14:47:04 +0000 |
| commit | 826a5d8c9df9605fb4fdefa45432f95580241a1f (patch) | |
| tree | 9b9c8ab7978ae7da537e7da78f9c37e8a640dc94 /drivers/gpu/drm/amd/amdgpu/amdgpu.h | |
| parent | Linux 6.7-rc3 (diff) | |
| download | kernel-826a5d8c9df9605fb4fdefa45432f95580241a1f.tar.gz kernel-826a5d8c9df9605fb4fdefa45432f95580241a1f.zip | |
device property: Implement device_is_big_endian()
Some users want to use the struct device pointer to see if the
device is big endian in terms of Open Firmware specifications,
i.e. if it has a "big-endian" property, or if the kernel was
compiled for BE *and* the device has a "native-endian" property.
Provide inline helper for the users.
Signed-off-by: Andy Shevchenko <[email protected]>
Acked-by: Greg Kroah-Hartman <[email protected]>
Reviewed-by: Linus Walleij <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
0 files changed, 0 insertions, 0 deletions
