diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2019-01-24 14:45:03 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-02-15 08:07:37 +0100 |
commit | 1c33604eb0d2a7efe801393c6d3dcd85a1ec0553 (patch) | |
tree | 74b7f3306dd67ac14af24dffb87608682f70df74 /samples | |
parent | c0b3665009aa52c91829804ee997c563ad60340f (diff) | |
download | linux-rt-1c33604eb0d2a7efe801393c6d3dcd85a1ec0553.tar.gz |
samples: mei: use /dev/mei0 instead of /dev/mei
commit c4a46acf1db3ce547d290c29e55b3476c78dd76c upstream.
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 57d0d871dcf7..bb9988914a56 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, me->verbose = verbose; - me->fd = open("/dev/mei", O_RDWR); + me->fd = open("/dev/mei0", O_RDWR); if (me->fd == -1) { mei_err(me, "Cannot establish a handle to the Intel MEI driver\n"); goto err; |