Commit 2c856133 authored by Dan Ehrenberg's avatar Dan Ehrenberg Committed by Todd Kjos
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 e6e20a7a)
Signed-off-by: default avatarAmit Pundir <amit.pundir@linaro.org>
parent 51500155
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment