mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
intel: fix compilation warning on gen_get_device_info
(warning: 'const' type qualifier on return type has no effect) Signed-off-by: Tapani Pälli <tapani.palli@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
This commit is contained in:
parent
9d6ca7c3d0
commit
387e0af0b4
2 changed files with 2 additions and 2 deletions
|
|
@ -487,7 +487,7 @@ static const struct gen_device_info gen_device_info_kbl_gt4 = {
|
|||
.num_slices = 3,
|
||||
};
|
||||
|
||||
const bool
|
||||
bool
|
||||
gen_get_device_info(int devid, struct gen_device_info *devinfo)
|
||||
{
|
||||
switch (devid) {
|
||||
|
|
|
|||
|
|
@ -143,5 +143,5 @@ struct gen_device_info
|
|||
/** @} */
|
||||
};
|
||||
|
||||
const bool gen_get_device_info(int devid, struct gen_device_info *devinfo);
|
||||
bool gen_get_device_info(int devid, struct gen_device_info *devinfo);
|
||||
const char *gen_get_device_name(int devid);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue