fmem: Add function stubs

Add function stubs for when qcache is not enabled

Change-Id: I7eade250bee42316074fc790204154cd8f0af840
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
diff --git a/include/linux/fmem.h b/include/linux/fmem.h
index d4d5cc7..a88c674 100644
--- a/include/linux/fmem.h
+++ b/include/linux/fmem.h
@@ -33,9 +33,17 @@
 	FMEM_O_STATE,
 };
 
+#ifdef CONFIG_QCACHE
 struct fmem_data *fmem_get_info(void);
 int fmem_set_state(enum fmem_state);
 void lock_fmem_state(void);
 void unlock_fmem_state(void);
+#else
+static inline struct fmem_data *fmem_get_info(void) { return NULL; }
+static inline int fmem_set_state(enum fmem_state f) { return -ENODEV; }
+static inline void lock_fmem_state(void) { return; }
+static inline void unlock_fmem_state(void) { return; }
+#endif
+
 
 #endif