diff options
author | Rasmus Villemoes <linux@rasmusvillemoes.dk> | 2020-01-15 19:41:52 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-01-22 15:28:15 +0100 |
commit | fad1db8a351cc913bbfb9ee4fe7ca4939cb19f2e (patch) | |
tree | bcb5a27c79d9def7370fe8f66c8e5f8abfddc3dd /drivers/mfd/lpc_sch.c | |
parent | 21766d11d151c82eb41c09338c8e149da6019a8b (diff) |
devtmpfs: initify a bit
devtmpfs_mount() is only called from prepare_namespace() in
init/do_mounts.c, which is an __init function, so devtmpfs_mount() can
also be moved to .init.text.
Then the mount_dev static variable is only referenced from __init
functions (devtmpfs_mount and its initializer function mount_param).
Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Link: https://lore.kernel.org/r/20200115184154.3492-5-linux@rasmusvillemoes.dk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/mfd/lpc_sch.c')
0 files changed, 0 insertions, 0 deletions