Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Fabian Frederick and committed by
Linus Torvalds
ce643a30 6d6a138f

+4 -5
+4 -5
lib/textsearch.c
··· 159 159 spin_unlock(&ts_mod_lock); 160 160 return err; 161 161 } 162 + EXPORT_SYMBOL(textsearch_register); 162 163 163 164 /** 164 165 * textsearch_unregister - unregister a textsearch module ··· 191 190 spin_unlock(&ts_mod_lock); 192 191 return err; 193 192 } 193 + EXPORT_SYMBOL(textsearch_unregister); 194 194 195 195 struct ts_linear_state 196 196 { ··· 238 236 239 237 return textsearch_find(conf, state); 240 238 } 239 + EXPORT_SYMBOL(textsearch_find_continuous); 241 240 242 241 /** 243 242 * textsearch_prepare - Prepare a search ··· 301 298 302 299 return ERR_PTR(err); 303 300 } 301 + EXPORT_SYMBOL(textsearch_prepare); 304 302 305 303 /** 306 304 * textsearch_destroy - destroy a search configuration ··· 320 316 321 317 kfree(conf); 322 318 } 323 - 324 - EXPORT_SYMBOL(textsearch_register); 325 - EXPORT_SYMBOL(textsearch_unregister); 326 - EXPORT_SYMBOL(textsearch_prepare); 327 - EXPORT_SYMBOL(textsearch_find_continuous); 328 319 EXPORT_SYMBOL(textsearch_destroy);