From: Johannes Berg <johannes.berg@xxxxxxxxx> debugfs.h needs device.h, otherwise you get a warning backport-include/linux/debugfs.h:11:10: warning: ‘struct device’ declared inside parameter list Change-Id: Ic669c855d47a8114649d1d319fcb1bcdc024415c Signed-off-by: Johannes Berg <johannes.berg@xxxxxxxxx> --- backport/backport-include/linux/debugfs.h | 1 + 1 file changed, 1 insertion(+) diff --git a/backport/backport-include/linux/debugfs.h b/backport/backport-include/linux/debugfs.h index 77b2e642e228..ef9b6e45d217 100644 --- a/backport/backport-include/linux/debugfs.h +++ b/backport/backport-include/linux/debugfs.h @@ -2,6 +2,7 @@ #define __BACKPORT_DEBUGFS_H_ #include_next <linux/debugfs.h> #include <linux/version.h> +#include <linux/device.h> #include <generated/utsrelease.h> #if defined(CONFIG_DEBUG_FS) -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe backports" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html