diff options
| -rw-r--r-- | drivers/gpu/drm/amd/amdkfd/kfd_chardev.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_chardev.c b/drivers/gpu/drm/amd/amdkfd/kfd_chardev.c index ee3e04e10dae..6316aad43a73 100644 --- a/drivers/gpu/drm/amd/amdkfd/kfd_chardev.c +++ b/drivers/gpu/drm/amd/amdkfd/kfd_chardev.c | |||
| @@ -486,7 +486,7 @@ static int kfd_ioctl_dbg_register(struct file *filep, | |||
| 486 | return status; | 486 | return status; |
| 487 | } | 487 | } |
| 488 | 488 | ||
| 489 | static int kfd_ioctl_dbg_unrgesiter(struct file *filep, | 489 | static int kfd_ioctl_dbg_unregister(struct file *filep, |
| 490 | struct kfd_process *p, void *data) | 490 | struct kfd_process *p, void *data) |
| 491 | { | 491 | { |
| 492 | struct kfd_ioctl_dbg_unregister_args *args = data; | 492 | struct kfd_ioctl_dbg_unregister_args *args = data; |
| @@ -498,7 +498,7 @@ static int kfd_ioctl_dbg_unrgesiter(struct file *filep, | |||
| 498 | return -EINVAL; | 498 | return -EINVAL; |
| 499 | 499 | ||
| 500 | if (dev->device_info->asic_family == CHIP_CARRIZO) { | 500 | if (dev->device_info->asic_family == CHIP_CARRIZO) { |
| 501 | pr_debug("kfd_ioctl_dbg_unrgesiter not supported on CZ\n"); | 501 | pr_debug("kfd_ioctl_dbg_unregister not supported on CZ\n"); |
| 502 | return -EINVAL; | 502 | return -EINVAL; |
| 503 | } | 503 | } |
| 504 | 504 | ||
| @@ -892,7 +892,7 @@ static const struct amdkfd_ioctl_desc amdkfd_ioctls[] = { | |||
| 892 | kfd_ioctl_dbg_register, 0), | 892 | kfd_ioctl_dbg_register, 0), |
| 893 | 893 | ||
| 894 | AMDKFD_IOCTL_DEF(AMDKFD_IOC_DBG_UNREGISTER, | 894 | AMDKFD_IOCTL_DEF(AMDKFD_IOC_DBG_UNREGISTER, |
| 895 | kfd_ioctl_dbg_unrgesiter, 0), | 895 | kfd_ioctl_dbg_unregister, 0), |
| 896 | 896 | ||
| 897 | AMDKFD_IOCTL_DEF(AMDKFD_IOC_DBG_ADDRESS_WATCH, | 897 | AMDKFD_IOCTL_DEF(AMDKFD_IOC_DBG_ADDRESS_WATCH, |
| 898 | kfd_ioctl_dbg_address_watch, 0), | 898 | kfd_ioctl_dbg_address_watch, 0), |
