Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 66053b96 authored by Dan Ehrenberg's avatar Dan Ehrenberg Committed by Dmitry Shmidt
Browse files

UPSTREAM: init: export name_to_dev_t and mark name argument as const



DM will switch its device lookup code to using name_to_dev_t() so it
must be exported.  Also, the @name argument should be marked const.

Signed-off-by: default avatarDan Ehrenberg <dehrenberg@chromium.org>
Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>

Change-Id: If997bf85d80395f0bdb8b84e669deecf8def075c
[AmitP: Fix undefined "name_to_dev_t" error when building
        dm-android-verity driver as a module in android-3.18]
(cherry picked from commit e6e20a7a5f3f49bfee518d5c6849107398d83912)
Signed-off-by: default avatarAmit Pundir <amit.pundir@linaro.org>
parent 83fd9be7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment