diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2013-02-06 07:06:41 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-02-06 14:23:47 -0500 |
commit | 827eef51f8dd9a4ab62b4ad270c15472f46938f2 (patch) | |
tree | 15798db67af269512bdb4ae54f36e0a26d178d4a /drivers/misc/mei/init.c | |
parent | 52c34561415b420301f1580413a9d1891d079494 (diff) |
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.c | 2 |
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) | |||
104 | goto err; | 104 | goto err; |
105 | } | 105 | } |
106 | 106 | ||
107 | if (!mei_me_is_ready(dev)) { | 107 | if (!mei_hw_is_ready(dev)) { |
108 | dev_err(&dev->pdev->dev, "ME is not ready.\n"); | 108 | dev_err(&dev->pdev->dev, "ME is not ready.\n"); |
109 | goto err; | 109 | goto err; |
110 | } | 110 | } |