summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2014-06-04 16:11:58 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2014-06-04 16:54:19 -0700
commitce643a30d1c8bd31b6310f59f6d7236c9904c3bf (patch)
treeb2d37e0d41723dba5f4d2eb08b466c95e461949e /lib
parent6d6a138f13e7cb5f20e4ee1c841b4bdaee5e0251 (diff)
downloadlinux-ce643a30d1c8bd31b6310f59f6d7236c9904c3bf.tar.gz
linux-ce643a30d1c8bd31b6310f59f6d7236c9904c3bf.tar.bz2
linux-ce643a30d1c8bd31b6310f59f6d7236c9904c3bf.zip
lib/textsearch.c: move EXPORT_SYMBOL after functions
Fix checkpatch warning: "WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable" Signed-off-by: Fabian Frederick <fabf@skynet.be> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/textsearch.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/textsearch.c b/lib/textsearch.c
index e0cc0146ae62..0c7e9ab2d88f 100644
--- a/lib/textsearch.c
+++ b/lib/textsearch.c
@@ -159,6 +159,7 @@ errout:
spin_unlock(&ts_mod_lock);
return err;
}
+EXPORT_SYMBOL(textsearch_register);
/**
* textsearch_unregister - unregister a textsearch module
@@ -190,6 +191,7 @@ out:
spin_unlock(&ts_mod_lock);
return err;
}
+EXPORT_SYMBOL(textsearch_unregister);
struct ts_linear_state
{
@@ -236,6 +238,7 @@ unsigned int textsearch_find_continuous(struct ts_config *conf,
return textsearch_find(conf, state);
}
+EXPORT_SYMBOL(textsearch_find_continuous);
/**
* textsearch_prepare - Prepare a search
@@ -298,6 +301,7 @@ errout:
return ERR_PTR(err);
}
+EXPORT_SYMBOL(textsearch_prepare);
/**
* textsearch_destroy - destroy a search configuration
@@ -316,9 +320,4 @@ void textsearch_destroy(struct ts_config *conf)
kfree(conf);
}
-
-EXPORT_SYMBOL(textsearch_register);
-EXPORT_SYMBOL(textsearch_unregister);
-EXPORT_SYMBOL(textsearch_prepare);
-EXPORT_SYMBOL(textsearch_find_continuous);
EXPORT_SYMBOL(textsearch_destroy);