diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2008-12-04 09:04:18 -0500 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2008-12-04 10:53:10 -0500 |
commit | 995be04548f62c8e6b447410cd28b0666614b461 (patch) | |
tree | fbabfbcc9bd11813d0d5bebd99cdc52dff37a909 /fs/ubifs | |
parent | 2ba5f7ae8165b3f575dd3a7d8bb18f421fab8273 (diff) |
UBIFS: fix section mismatch
This patch fixes the following section mismatch:
WARNING: fs/ubifs/ubifs.o(.init.text+0xec): Section mismatch in reference from the function init_module() to the function .exit.text:ubifs_compressors_exit()
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'fs/ubifs')
-rw-r--r-- | fs/ubifs/compress.c | 2 | ||||
-rw-r--r-- | fs/ubifs/ubifs.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/fs/ubifs/compress.c b/fs/ubifs/compress.c index 4afb3ea24d44..4c90ee2aef46 100644 --- a/fs/ubifs/compress.c +++ b/fs/ubifs/compress.c | |||
@@ -244,7 +244,7 @@ out_lzo: | |||
244 | /** | 244 | /** |
245 | * ubifs_compressors_exit - de-initialize UBIFS compressors. | 245 | * ubifs_compressors_exit - de-initialize UBIFS compressors. |
246 | */ | 246 | */ |
247 | void __exit ubifs_compressors_exit(void) | 247 | void ubifs_compressors_exit(void) |
248 | { | 248 | { |
249 | compr_exit(&lzo_compr); | 249 | compr_exit(&lzo_compr); |
250 | compr_exit(&zlib_compr); | 250 | compr_exit(&zlib_compr); |
diff --git a/fs/ubifs/ubifs.h b/fs/ubifs/ubifs.h index e658b06fd451..055c6b52d2f6 100644 --- a/fs/ubifs/ubifs.h +++ b/fs/ubifs/ubifs.h | |||
@@ -1700,7 +1700,7 @@ long ubifs_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg); | |||
1700 | 1700 | ||
1701 | /* compressor.c */ | 1701 | /* compressor.c */ |
1702 | int __init ubifs_compressors_init(void); | 1702 | int __init ubifs_compressors_init(void); |
1703 | void __exit ubifs_compressors_exit(void); | 1703 | void ubifs_compressors_exit(void); |
1704 | void ubifs_compress(const void *in_buf, int in_len, void *out_buf, int *out_len, | 1704 | void ubifs_compress(const void *in_buf, int in_len, void *out_buf, int *out_len, |
1705 | int *compr_type); | 1705 | int *compr_type); |
1706 | int ubifs_decompress(const void *buf, int len, void *out, int *out_len, | 1706 | int ubifs_decompress(const void *buf, int len, void *out, int *out_len, |