diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2012-11-11 19:37:58 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-16 03:34:18 +0400 |
commit | e773efc405026bb8540c84bf45420bd66d5b34a7 (patch) | |
tree | 97d02615bbcd3622bcc80f26bfb05bef4a474615 /drivers/misc/mei/main.c | |
parent | ab5c4a56d46f6a41d238aa6546f900407c9be275 (diff) | |
download | linux-e773efc405026bb8540c84bf45420bd66d5b34a7.tar.xz |
mei: amthif: prefix cb list with amthif
amthif cb list were prefixed with amthi_ instead
if amthif.
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 | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/misc/mei/main.c b/drivers/misc/mei/main.c index ff50cc14cc39..bea545a5ae2b 100644 --- a/drivers/misc/mei/main.c +++ b/drivers/misc/mei/main.c @@ -146,9 +146,8 @@ static bool mei_clear_lists(struct mei_device *dev, struct file *file) bool removed = false; /* remove callbacks associated with a file */ - mei_clear_list(dev, file, &dev->amthi_cmd_list.list); - if (mei_clear_list(dev, file, - &dev->amthi_read_complete_list.list)) + mei_clear_list(dev, file, &dev->amthif_cmd_list.list); + if (mei_clear_list(dev, file, &dev->amthif_rd_complete_list.list)) removed = true; mei_clear_list(dev, file, &dev->ctrl_rd_list.list); |