summaryrefslogtreecommitdiffstats
path: root/src/intel/common/gen_device_info.h
diff options
context:
space:
mode:
authorTapani Pälli <[email protected]>2016-10-03 09:32:54 +0300
committerTapani Pälli <[email protected]>2016-10-04 07:38:45 +0300
commit387e0af0b42fefb462a60068fcbdef77236129a0 (patch)
tree2ad1b4f23272da1f4c4dbc3c4d4a1ab525527e5f /src/intel/common/gen_device_info.h
parent9d6ca7c3d091e1ab71ce2f75bf4f13dc8844d801 (diff)
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 <[email protected]> Reviewed-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src/intel/common/gen_device_info.h')
-rw-r--r--src/intel/common/gen_device_info.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/common/gen_device_info.h b/src/intel/common/gen_device_info.h
index 964e429cedd..7347db57e4a 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);