--- a/backport-include/linux/debugfs.h
+++ b/backport-include/linux/debugfs.h
@@ -3,6 +3,7 @@
 #include_next <linux/debugfs.h>
 #include <linux/version.h>
 #include <generated/utsrelease.h>
+#include <linux/device.h>
 
 #if defined(CONFIG_DEBUG_FS)
 struct dentry *debugfs_create_devm_seqfile(struct device *dev, const char *name,