mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-24 01:58:16 +02:00
freedreno: fix ignored qualifier
Fixes:
src/freedreno/common/freedreno_dev_info.h:516:1:
error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers]
516 | const struct fd_dev_info fd_dev_info(const struct fd_dev_id *id);
| ^~~~~
Reviewed-by: Eric Engestrom <eric@igalia.com>
Reviewed-by: Valentine Burley <valentine.burley@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41518>
This commit is contained in:
parent
a23c3732e2
commit
dd47c7c061
2 changed files with 2 additions and 2 deletions
|
|
@ -75,7 +75,7 @@ fd_dev_info_raw(const struct fd_dev_id *id)
|
|||
return NULL;
|
||||
}
|
||||
|
||||
const struct fd_dev_info
|
||||
struct fd_dev_info
|
||||
fd_dev_info(const struct fd_dev_id *id)
|
||||
{
|
||||
struct fd_dev_info modified = {};
|
||||
|
|
|
|||
|
|
@ -513,7 +513,7 @@ fd_dev_is_supported(const struct fd_dev_id *id) {
|
|||
}
|
||||
|
||||
/* Final dev info with dbg options and everything else applied. */
|
||||
const struct fd_dev_info fd_dev_info(const struct fd_dev_id *id);
|
||||
struct fd_dev_info fd_dev_info(const struct fd_dev_id *id);
|
||||
|
||||
const struct fd_dev_info *fd_dev_info_raw_by_name(const char *name);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue