diff options
author | Alexander Usyskin <alexander.usyskin@intel.com> | 2016-06-16 17:58:57 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-08-30 15:36:39 +0300 |
commit | 97d549b4d5fca22ebde0798cb8c16c19b4ae837a (patch) | |
tree | 33cd7b6b480b3362eea22dc1e84e7caf6fe77ea6 /drivers/misc/mei/main.c | |
parent | a03c608f25fbe2eb5f2862a4dab1791948496215 (diff) | |
download | linux-97d549b4d5fca22ebde0798cb8c16c19b4ae837a.tar.xz |
mei: add file pointer to the host client structure
Store the file associated with a client in the host client structure,
this enables dropping the special amthif client file pointer from struct
mei_device, and this is also a preparation for changing the way rx
packet allocation for fixed_address clients
Signed-off-by: Alexander Usyskin <alexander.usyskin@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/main.c')
-rw-r--r-- | drivers/misc/mei/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/misc/mei/main.c b/drivers/misc/mei/main.c index d62e89c80beb..d7ef5edf044a 100644 --- a/drivers/misc/mei/main.c +++ b/drivers/misc/mei/main.c @@ -71,6 +71,7 @@ static int mei_open(struct inode *inode, struct file *file) goto err_unlock; } + cl->fp = file; file->private_data = cl; mutex_unlock(&dev->device_lock); |