I moved EXPORT_SYMBOL(fld_client_proc_fini); for a EXPORT_SYMBOL
should be immediately below its function warning fix.

Signed-off-by: Gary Alan Rookard <garyrook...@gmail.com>

---
Correct patch, first two breaks build.
On branch staging-next
 drivers/staging/lustre/lustre/fld/fld_request.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/staging/lustre/lustre/fld/fld_request.c 
b/drivers/staging/lustre/lustre/fld/fld_request.c
index 0d2a9ab..39e5501 100644
--- a/drivers/staging/lustre/lustre/fld/fld_request.c
+++ b/drivers/staging/lustre/lustre/fld/fld_request.c
@@ -325,9 +325,8 @@ void fld_client_proc_fini(struct lu_client_fld *fld)
 {
        return;
 }
-EXPORT_SYMBOL(fld_client_proc_fini);
 #endif
-
+EXPORT_SYMBOL(fld_client_proc_fini);
 static inline int hash_is_sane(int hash)
 {
        return hash >= 0 && hash < ARRAY_SIZE(fld_hash);
-- 
1.9.0

_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to