summaryrefslogtreecommitdiffstats
path: root/mm/page-writeback.c
diff options
context:
space:
mode:
authorOded Gabbay <oded.gabbay@gmail.com>2019-07-30 09:10:02 +0300
committerOded Gabbay <oded.gabbay@gmail.com>2019-09-05 14:55:26 +0300
commitb968eb1a84e09f30eab9b88d30758187087b3492 (patch)
tree6c621a5137ffd138321e2b114518f53c25614c2c /mm/page-writeback.c
parenteb7caf84b029387fe5addb484a0fc5792a9058e1 (diff)
downloadblackbird-op-linux-b968eb1a84e09f30eab9b88d30758187087b3492.tar.gz
blackbird-op-linux-b968eb1a84e09f30eab9b88d30758187087b3492.zip
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 <oded.gabbay@gmail.com> Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'mm/page-writeback.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud