haven: Fix compilation error when DEBUG_FS is disabled

Return proper value when DEBUG_FS is disabled.

Change-Id: I6d46dcac6c6321e1a19468a81906e5f98976d29b
Signed-off-by: Prakruthi Deepak Heragu <pheragu@codeaurora.org>
This commit is contained in:
Prakruthi Deepak Heragu 2020-05-06 23:37:19 -07:00
commit ef9fb88a64

View file

@ -163,7 +163,7 @@ static void __exit hh_dbgfs_unregister(void)
}
#else /* !defined (CONFIG_DEBUG_FS) */
static inline int hh_dbgfs_register(void) { return 0; }
static inline void hh_dbgfs_unregister(void) { return 0; }
static inline void hh_dbgfs_unregister(void) { return; }
#endif
static int __init hh_ctrl_init(void)