habanalabs: increase length of ASIC name

Future ASIC names are longer than 15 chars so increase the variable length
to 32 chars.

Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Reviewed-by: Tomer Tayar <ttayar@habana.ai>
This commit is contained in:
Oded Gabbay 2020-08-02 11:49:09 +03:00
parent 8fd0e2a6df
commit b71590efb2

View File

@ -1513,7 +1513,7 @@ struct hl_device {
struct device *dev_ctrl; struct device *dev_ctrl;
struct delayed_work work_freq; struct delayed_work work_freq;
struct delayed_work work_heartbeat; struct delayed_work work_heartbeat;
char asic_name[16]; char asic_name[32];
enum hl_asic_type asic_type; enum hl_asic_type asic_type;
struct hl_cq *completion_queue; struct hl_cq *completion_queue;
struct workqueue_struct **cq_wq; struct workqueue_struct **cq_wq;