staging: lustre: use CONFIG_PROC_FS
[cascardo/linux.git] / drivers / staging / lustre / lustre / mgc / mgc_internal.h
index b01d2db..a6f8b3c 100644 (file)
@@ -44,7 +44,7 @@
 #include "../include/lustre_log.h"
 #include "../include/lustre_export.h"
 
-#ifdef LPROCFS
+#if defined (CONFIG_PROC_FS)
 void lprocfs_mgc_init_vars(struct lprocfs_static_vars *lvars);
 int lprocfs_mgc_rd_ir_state(struct seq_file *m, void *data);
 #else
@@ -56,7 +56,7 @@ static inline int lprocfs_mgc_rd_ir_state(struct seq_file *m, void *data)
 {
        return 0;
 }
-#endif  /* LPROCFS */
+#endif  /* CONFIG_PROC_FS */
 
 int mgc_process_log(struct obd_device *mgc, struct config_llog_data *cld);