diff options
| author | Andy Shevchenko <[email protected]> | 2023-06-09 18:48:59 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2023-06-15 13:34:30 +0200 |
| commit | 2de5897b5c148a1cdf31bf4628590825d694c37d (patch) | |
| tree | 200cd5c452372ca5c1631f1ab4d911cf6bcca6fa /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | 007cfa13e034a1a2973967cbbe31e70c19e2bf31 (diff) | |
device property: Implement device_is_compatible()
Some users want to use the struct device pointer to see if the
device is compatible in terms of Open Firmware specifications,
i.e. if it has a 'compatible' property and it matches to the
given value. Provide inline helper for the users.
Signed-off-by: Andy Shevchenko <[email protected]>
Reviewed-by: Serge Semin <[email protected]>
Reviewed-by: Sakari Ailus <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions