From: Fabian Frederick Date: Tue, 16 Jul 2019 23:29:00 +0000 (-0700) Subject: coda: add __init to init_coda_psdev() X-Git-Tag: v5.4-rc1~541^2~36 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f94845284abedf80b8d9ab37eafe0d8f737543e8;p=platform%2Fkernel%2Flinux-rpi.git coda: add __init to init_coda_psdev() init_coda_psdev() was only called by __init function. Link: http://lkml.kernel.org/r/a12a5a135fa6b0ea997e1a0af4be0a235c463a24.1558117389.git.jaharkes@cs.cmu.edu Signed-off-by: Fabian Frederick Signed-off-by: Jan Harkes Cc: Arnd Bergmann Cc: Colin Ian King Cc: Dan Carpenter Cc: David Howells Cc: Mikko Rapeli Cc: Sam Protsenko Cc: Yann Droneaud Cc: Zhouyang Jia Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/fs/coda/psdev.c b/fs/coda/psdev.c index 0a61e94..ebfbbea 100644 --- a/fs/coda/psdev.c +++ b/fs/coda/psdev.c @@ -357,7 +357,7 @@ static const struct file_operations coda_psdev_fops = { .llseek = noop_llseek, }; -static int init_coda_psdev(void) +static int __init init_coda_psdev(void) { int i, err = 0; if (register_chrdev(CODA_PSDEV_MAJOR, "coda", &coda_psdev_fops)) {