diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2019-01-24 07:45:03 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-01-30 09:24:45 -0500 |
commit | c4a46acf1db3ce547d290c29e55b3476c78dd76c (patch) | |
tree | 973251c3d8d3ae7c9e38d00bb72644e35a2320c0 /samples | |
parent | efe814e90b98aed6d655b5a4092b9114b8b26e42 (diff) |
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: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'samples')
-rw-r--r-- | samples/mei/mei-amt-version.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/mei/mei-amt-version.c b/samples/mei/mei-amt-version.c index 33e67bd1dc34..32234481ad7d 100644 --- a/samples/mei/mei-amt-version.c +++ b/samples/mei/mei-amt-version.c | |||
@@ -117,7 +117,7 @@ static bool mei_init(struct mei *me, const uuid_le *guid, | |||
117 | 117 | ||
118 | me->verbose = verbose; | 118 | me->verbose = verbose; |
119 | 119 | ||
120 | me->fd = open("/dev/mei", O_RDWR); | 120 | me->fd = open("/dev/mei0", O_RDWR); |
121 | if (me->fd == -1) { | 121 | if (me->fd == -1) { |
122 | mei_err(me, "Cannot establish a handle to the Intel MEI driver\n"); | 122 | mei_err(me, "Cannot establish a handle to the Intel MEI driver\n"); |
123 | goto err; | 123 | goto err; |