diff options
author | Oded Gabbay <oded.gabbay@amd.com> | 2014-12-29 14:20:05 +0200 |
---|---|---|
committer | Oded Gabbay <oded.gabbay@amd.com> | 2015-01-06 19:44:36 +0200 |
commit | 76baee6c733bfef30fcf86cbd121e336b839e408 (patch) | |
tree | 1ba6313aa81b5c69ed5591e0cb8598c2fd69434b /drivers/bluetooth/bluecard_cs.c | |
parent | b81c55db1053805866a242cd0bfbfb0c60c499b3 (diff) |
drm/amdkfd: rewrite kfd_ioctl() according to drm_ioctl()
This patch changes kfd_ioctl() to be very similar to drm_ioctl().
The patch defines an array of amdkfd_ioctls, which maps IOCTL definition to the
ioctl function.
The kfd_ioctl() uses that mapping to call the appropriate ioctl function,
through a function pointer.
This patch also declares a new typedef for the ioctl function pointer.
v2: Renamed KFD_COMMAND_(START|END) to AMDKFD_...
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Diffstat (limited to 'drivers/bluetooth/bluecard_cs.c')
0 files changed, 0 insertions, 0 deletions