summaryrefslogtreecommitdiffstats
path: root/drivers/spmi
diff options
context:
space:
mode:
authorTomer Tayar <ttayar@habana.ai>2019-08-08 12:25:52 +0000
committerOded Gabbay <oded.gabbay@gmail.com>2019-09-05 14:55:27 +0300
commitea451f88ef9c8c8e8e3858e343f6fe85c694655c (patch)
tree6bf67f7361c923433f7c4c7fb669c24cfe626d14 /drivers/spmi
parent9b50f539fff10a8283ac9c80e4ec344870b575b5 (diff)
downloadlinux-stable-ea451f88ef9c8c8e8e3858e343f6fe85c694655c.tar.gz
linux-stable-ea451f88ef9c8c8e8e3858e343f6fe85c694655c.tar.bz2
linux-stable-ea451f88ef9c8c8e8e3858e343f6fe85c694655c.zip
habanalabs: Expose devices after initialization is done
The char devices are currently exposed to user before the device and driver initialization are done. This patch moves the cdev and device adding to the system to the end of the initialization sequence, while keeping the creation of the structures at the beginning to allow the usage of dev_*(). Signed-off-by: Tomer Tayar <ttayar@habana.ai> Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com> Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Diffstat (limited to 'drivers/spmi')
0 files changed, 0 insertions, 0 deletions