[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1539937173-26260-5-git-send-email-fabf@skynet.be>
Date: Fri, 19 Oct 2018 10:19:30 +0200
From: Fabian Frederick <fabf@...net.be>
To: akpm@...ux-foundation.org
Cc: jaharkes@...cmu.edu, coda@...cmu.edu,
linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org,
fabf@...net.be
Subject: [PATCH 4/7 linux-next] coda: add __init to init_coda_psdev()
init_coda_psdev() was only called by __init function.
Signed-off-by: Fabian Frederick <fabf@...net.be>
---
fs/coda/psdev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/coda/psdev.c b/fs/coda/psdev.c
index cbdddf4..6d1c95f 100644
--- a/fs/coda/psdev.c
+++ b/fs/coda/psdev.c
@@ -352,7 +352,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)) {
--
2.4.11
Powered by blists - more mailing lists