diff options
author | Tapani Pälli <tapani.palli@intel.com> | 2016-10-03 09:32:54 +0300 |
---|---|---|
committer | Tapani Pälli <tapani.palli@intel.com> | 2016-10-04 07:38:45 +0300 |
commit | 387e0af0b42fefb462a60068fcbdef77236129a0 (patch) | |
tree | 2ad1b4f23272da1f4c4dbc3c4d4a1ab525527e5f /src/intel/common | |
parent | 9d6ca7c3d091e1ab71ce2f75bf4f13dc8844d801 (diff) | |
download | external_mesa3d-387e0af0b42fefb462a60068fcbdef77236129a0.zip external_mesa3d-387e0af0b42fefb462a60068fcbdef77236129a0.tar.gz external_mesa3d-387e0af0b42fefb462a60068fcbdef77236129a0.tar.bz2 |
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>
Diffstat (limited to 'src/intel/common')
-rw-r--r-- | src/intel/common/gen_device_info.c | 2 | ||||
-rw-r--r-- | src/intel/common/gen_device_info.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/intel/common/gen_device_info.c b/src/intel/common/gen_device_info.c index 98669b3..30df0b2 100644 --- a/src/intel/common/gen_device_info.c +++ b/src/intel/common/gen_device_info.c @@ -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) { diff --git a/src/intel/common/gen_device_info.h b/src/intel/common/gen_device_info.h index 964e429..7347db5 100644 --- a/src/intel/common/gen_device_info.h +++ b/src/intel/common/gen_device_info.h @@ -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); |