diff options
author | Oded Gabbay <[email protected]> | 2019-07-30 09:10:02 +0300 |
---|---|---|
committer | Oded Gabbay <[email protected]> | 2019-09-05 14:55:26 +0300 |
commit | b968eb1a84e09f30eab9b88d30758187087b3492 (patch) | |
tree | 6c621a5137ffd138321e2b114518f53c25614c2c /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | eb7caf84b029387fe5addb484a0fc5792a9058e1 (diff) |
habanalabs: change device_setup_cdev() to be more generic
This patch re-factors the device_setup_cdev() function to make it more
generic. It doesn't manipulate members of the driver's internal device
structure but instead works only on the arguments that are sent to it.
This is in preparation for using this function to create an additional
char device per ASIC.
Signed-off-by: Oded Gabbay <[email protected]>
Reviewed-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions