Commit c4a46acf authored by Tomas Winkler's avatar Tomas Winkler Committed by Greg Kroah-Hartman

samples: mei: use /dev/mei0 instead of /dev/mei

The device was moved from misc device to character devices
to support multiple mei devices.

Cc: <stable@vger.kernel.org> #v4.9+
Signed-off-by: default avatarTomas Winkler <tomas.winkler@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent efe814e9
...@@ -117,7 +117,7 @@ static bool mei_init(struct mei *me, const uuid_le *guid, ...@@ -117,7 +117,7 @@ static bool mei_init(struct mei *me, const uuid_le *guid,
me->verbose = verbose; me->verbose = verbose;
me->fd = open("/dev/mei", O_RDWR); me->fd = open("/dev/mei0", O_RDWR);
if (me->fd == -1) { if (me->fd == -1) {
mei_err(me, "Cannot establish a handle to the Intel MEI driver\n"); mei_err(me, "Cannot establish a handle to the Intel MEI driver\n");
goto err; goto err;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment