Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 514fbbf6 authored by Oliver Neukum's avatar Oliver Neukum Committed by Greg Kroah-Hartman
Browse files

fusbh200: always compile debugfs support



This is a step in the conversion to only use dynamic
debugging.

Signed-off-by: default avatarOliver Neukum <oneukum@suse.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent cb0badad
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -307,13 +307,6 @@ dbg_port_buf (char *buf, unsigned len, const char *label, int port, u32 status)

/*-------------------------------------------------------------------------*/

#ifdef STUB_DEBUG_FILES

static inline void create_debug_files (struct fusbh200_hcd *bus) { }
static inline void remove_debug_files (struct fusbh200_hcd *bus) { }

#else

/* troubleshooting help: expose state in debugfs */

static int debug_async_open(struct inode *, struct file *);
@@ -889,7 +882,6 @@ static inline void remove_debug_files (struct fusbh200_hcd *fusbh200)
	debugfs_remove_recursive(fusbh200->debug_dir);
}

#endif /* STUB_DEBUG_FILES */
/*-------------------------------------------------------------------------*/

/*