drm/xe: Use correct function pointer type
authorNiranjana Vishwanathapura <niranjana.vishwanathapura@intel.com>
Tue, 19 Mar 2024 17:49:19 +0000 (10:49 -0700)
committerMatthew Brost <matthew.brost@intel.com>
Wed, 20 Mar 2024 05:36:38 +0000 (22:36 -0700)
Use xe_exec_queue_user_extension_fn type for
exec_queue_user_extension_funcs.`

Signed-off-by: Niranjana Vishwanathapura <niranjana.vishwanathapura@intel.com>
Reviewed-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240319174919.1847-1-niranjana.vishwanathapura@intel.com
drivers/gpu/drm/xe/xe_exec_queue.c

index a1b3c714497700e90cb78be21558f878b09abb1f..730eb7d2a63948a8ebe846b33e78d0cf42e59801 100644 (file)
@@ -388,7 +388,7 @@ typedef int (*xe_exec_queue_user_extension_fn)(struct xe_device *xe,
                                               struct xe_exec_queue *q,
                                               u64 extension);
 
-static const xe_exec_queue_set_property_fn exec_queue_user_extension_funcs[] = {
+static const xe_exec_queue_user_extension_fn exec_queue_user_extension_funcs[] = {
        [DRM_XE_EXEC_QUEUE_EXTENSION_SET_PROPERTY] = exec_queue_user_ext_set_property,
 };