staging/lustre: clean function declaration in super25.c up
authorBaoyou Xie <baoyou.xie@linaro.org>
Sat, 17 Sep 2016 13:37:03 +0000 (21:37 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 17 Sep 2016 21:36:52 +0000 (23:36 +0200)
commitc2e1b91ed8b1b48b0aa5613c2cfd4cb3aac8d0af
treec652eec2bcdc34d146239bde647e3592754ba2b0
parentc276af40ef8d7cfbe257bd41a9d2501178de7e79
staging/lustre: clean function declaration in super25.c up

We get 1 warning when building kernel with W=1:
drivers/staging/lustre/lustre/obdclass/obd_config.c:719:6: warning: no previous prototype for 'lustre_register_client_process_config' [-Wmissing-prototypes]

In fact, this function is declared in
drivers/staging/lustre/lustre/llite/super25.c, but should be
moved into a header file, thus can be recognized in other file.

So this patch moves the declaration into
drivers/staging/lustre/lustre/include/lprocfs_status.h.

Signed-off-by: Baoyou Xie <baoyou.xie@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/include/lprocfs_status.h
drivers/staging/lustre/lustre/llite/super25.c