diff options
author | Samuel Ortiz <sameo@linux.intel.com> | 2013-03-27 17:29:56 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-03-29 08:44:12 -0700 |
commit | a7b71bc043aded9da4cf51f85271e0779161fe22 (patch) | |
tree | 68b69d683542f91b883eb097e2c7bf332b4f3ecf /drivers/misc/mei/client.c | |
parent | 3e8332952dedd2c17bb497e3909e3b6fbac10ce7 (diff) | |
download | linux-a7b71bc043aded9da4cf51f85271e0779161fe22.tar.gz linux-a7b71bc043aded9da4cf51f85271e0779161fe22.tar.bz2 linux-a7b71bc043aded9da4cf51f85271e0779161fe22.zip |
mei: bus: Add bus related structures to mei_cl
We keep track of all MEI devices on the bus through a specific linked list.
We also have a mei_device instance in the mei_cl structure.
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/mei/client.c')
-rw-r--r-- | drivers/misc/mei/client.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/misc/mei/client.c b/drivers/misc/mei/client.c index 1569afe935de..e14397b09187 100644 --- a/drivers/misc/mei/client.c +++ b/drivers/misc/mei/client.c @@ -216,6 +216,7 @@ void mei_cl_init(struct mei_cl *cl, struct mei_device *dev) init_waitqueue_head(&cl->rx_wait); init_waitqueue_head(&cl->tx_wait); INIT_LIST_HEAD(&cl->link); + INIT_LIST_HEAD(&cl->device_link); cl->reading_state = MEI_IDLE; cl->writing_state = MEI_IDLE; cl->dev = dev; |