aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/misc/mei/hw-me.c8
-rw-r--r--drivers/misc/mei/init.c9
2 files changed, 9 insertions, 8 deletions
diff --git a/drivers/misc/mei/hw-me.c b/drivers/misc/mei/hw-me.c
index 7c2b14d714b9..12c2fa195e56 100644
--- a/drivers/misc/mei/hw-me.c
+++ b/drivers/misc/mei/hw-me.c
@@ -583,14 +583,6 @@ struct mei_device *mei_me_dev_init(struct pci_dev *pdev)
583 583
584 mei_device_init(dev); 584 mei_device_init(dev);
585 585
586 INIT_LIST_HEAD(&dev->wd_cl.link);
587 INIT_LIST_HEAD(&dev->iamthif_cl.link);
588 mei_io_list_init(&dev->amthif_cmd_list);
589 mei_io_list_init(&dev->amthif_rd_complete_list);
590
591 INIT_DELAYED_WORK(&dev->timer_work, mei_timer);
592 INIT_WORK(&dev->init_work, mei_host_client_init);
593
594 dev->ops = &mei_me_hw_ops; 586 dev->ops = &mei_me_hw_ops;
595 587
596 dev->pdev = pdev; 588 dev->pdev = pdev;
diff --git a/drivers/misc/mei/init.c b/drivers/misc/mei/init.c
index aced38c9f6a8..33f56308ba3c 100644
--- a/drivers/misc/mei/init.c
+++ b/drivers/misc/mei/init.c
@@ -57,6 +57,15 @@ void mei_device_init(struct mei_device *dev)
57 mei_io_list_init(&dev->write_waiting_list); 57 mei_io_list_init(&dev->write_waiting_list);
58 mei_io_list_init(&dev->ctrl_wr_list); 58 mei_io_list_init(&dev->ctrl_wr_list);
59 mei_io_list_init(&dev->ctrl_rd_list); 59 mei_io_list_init(&dev->ctrl_rd_list);
60
61 INIT_DELAYED_WORK(&dev->timer_work, mei_timer);
62 INIT_WORK(&dev->init_work, mei_host_client_init);
63
64 INIT_LIST_HEAD(&dev->wd_cl.link);
65 INIT_LIST_HEAD(&dev->iamthif_cl.link);
66 mei_io_list_init(&dev->amthif_cmd_list);
67 mei_io_list_init(&dev->amthif_rd_complete_list);
68
60} 69}
61 70
62/** 71/**