Reviewed-by: Lionel Landwerlin <lionel.g.landwer...@intel.com>

On 03/10/16 07:32, Tapani Pälli wrote:
(warning: 'const' type qualifier on return type has no effect)

Signed-off-by: Tapani Pälli <tapani.pa...@intel.com>
---
  src/intel/common/gen_device_info.c | 2 +-
  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);


_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to