summaryrefslogtreecommitdiffstats
path: root/drivers/base/devtmpfs.c
diff options
context:
space:
mode:
authorArnaud Lacombe2011-07-21 19:16:19 +0200
committerGreg Kroah-Hartman2011-08-08 22:53:50 +0200
commitf9e0b159dbff693bacb64a929e04f442df985b50 (patch)
tree152b7e3f45bebd79a3a32c2619baa6212b42372d /drivers/base/devtmpfs.c
parentdriver core: fix kernel-doc warning in platform.c (diff)
downloadkernel-qcow2-linux-f9e0b159dbff693bacb64a929e04f442df985b50.tar.gz
kernel-qcow2-linux-f9e0b159dbff693bacb64a929e04f442df985b50.tar.xz
kernel-qcow2-linux-f9e0b159dbff693bacb64a929e04f442df985b50.zip
drivers/base/devtmpfs.c: correct annotation of `setup_done'
This fixes the following section mismatch issue: WARNING: vmlinux.o(.text+0x1192bf): Section mismatch in reference from the function devtmpfsd() to the variable .init.data:setup_done The function devtmpfsd() references the variable __initdata setup_done. This is often because devtmpfsd lacks a __initdata annotation or the annotation of setup_done is wrong. WARNING: vmlinux.o(.text+0x119342): Section mismatch in reference from the function devtmpfsd() to the variable .init.data:setup_done The function devtmpfsd() references the variable __initdata setup_done. This is often because devtmpfsd lacks a __initdata annotation or the annotation of setup_done is wrong. Signed-off-by: Arnaud Lacombe <lacombar@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/base/devtmpfs.c')
-rw-r--r--drivers/base/devtmpfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/devtmpfs.c b/drivers/base/devtmpfs.c
index 33e1bed68fdd..a4760e095ff5 100644
--- a/drivers/base/devtmpfs.c
+++ b/drivers/base/devtmpfs.c
@@ -376,7 +376,7 @@ int devtmpfs_mount(const char *mntdir)
return err;
}
-static __initdata DECLARE_COMPLETION(setup_done);
+static DECLARE_COMPLETION(setup_done);
static int handle(const char *name, mode_t mode, struct device *dev)
{