summaryrefslogtreecommitdiff
path: root/drivers/misc/mei/init.c
diff options
context:
space:
mode:
authorTomas Winkler <tomas.winkler@intel.com>2013-02-06 16:06:41 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-02-06 23:23:47 +0400
commit827eef51f8dd9a4ab62b4ad270c15472f46938f2 (patch)
tree15798db67af269512bdb4ae54f36e0a26d178d4a /drivers/misc/mei/init.c
parent52c34561415b420301f1580413a9d1891d079494 (diff)
downloadlinux-827eef51f8dd9a4ab62b4ad270c15472f46938f2.tar.xz
mei: separate compilation of the ME hardware specifics
We add struct mei_hw_ops to virtualize access to hw specific configurations. This allows us to separate the compilation of the ME interface from the ME hardware specifics Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/mei/init.c')
-rw-r--r--drivers/misc/mei/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/mei/init.c b/drivers/misc/mei/init.c
index 1e1876ff25b1..51a005e80952 100644
--- a/drivers/misc/mei/init.c
+++ b/drivers/misc/mei/init.c
@@ -104,7 +104,7 @@ int mei_hw_init(struct mei_device *dev)
goto err;
}
- if (!mei_me_is_ready(dev)) {
+ if (!mei_hw_is_ready(dev)) {
dev_err(&dev->pdev->dev, "ME is not ready.\n");
goto err;
}