diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-07-12 21:13:25 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-07-12 21:13:25 -0700 |
commit | f267cdb464bcab7be965fa2a513675d9ad1e90f6 (patch) | |
tree | 8198ce9cd0c840a10d25a6019bded896f39dd505 /drivers/staging/lustre/lustre/obdecho | |
parent | 06bf61b2a3c83fc91aeb607563983e22edb7b24f (diff) |
staging: lustre: use CONFIG_PROC_FS
Don't rely on a "custom" LPROCFS define, it's not needed, just check for
the real thing. This will let us delete a whole .h file that is not
being used for anything other than one #define.
Cc: Andreas Dilger <andreas.dilger@intel.com>
Cc: Oleg Drokin <oleg.drokin@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre/lustre/obdecho')
-rw-r--r-- | drivers/staging/lustre/lustre/obdecho/lproc_echo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/lustre/lustre/obdecho/lproc_echo.c b/drivers/staging/lustre/lustre/obdecho/lproc_echo.c index ccd751fd8480..487c4f3be20f 100644 --- a/drivers/staging/lustre/lustre/obdecho/lproc_echo.c +++ b/drivers/staging/lustre/lustre/obdecho/lproc_echo.c @@ -36,7 +36,7 @@ #include "../include/lprocfs_status.h" #include "../include/obd_class.h" -#ifdef LPROCFS +#if defined (CONFIG_PROC_FS) LPROC_SEQ_FOPS_RO_TYPE(echo, uuid); static struct lprocfs_vars lprocfs_echo_obd_vars[] = { { "uuid", &echo_uuid_fops, NULL, 0 }, @@ -54,4 +54,4 @@ void lprocfs_echo_init_vars(struct lprocfs_static_vars *lvars) lvars->module_vars = lprocfs_echo_module_vars; lvars->obd_vars = lprocfs_echo_obd_vars; } -#endif /* LPROCFS */ +#endif /* CONFIG_PROC_FS */ |