* [PATCH] backports: include missing device.h
@ 2015-05-05 13:19 Johannes Berg
2015-05-11 21:57 ` Hauke Mehrtens
0 siblings, 1 reply; 2+ messages in thread
From: Johannes Berg @ 2015-05-05 13:19 UTC (permalink / raw)
To: backports; +Cc: Johannes Berg
From: Johannes Berg <johannes.berg@intel.com>
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@intel.com>
---
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] backports: include missing device.h
2015-05-05 13:19 [PATCH] backports: include missing device.h Johannes Berg
@ 2015-05-11 21:57 ` Hauke Mehrtens
0 siblings, 0 replies; 2+ messages in thread
From: Hauke Mehrtens @ 2015-05-11 21:57 UTC (permalink / raw)
To: Johannes Berg, backports; +Cc: Johannes Berg
On 05/05/2015 03:19 PM, Johannes Berg wrote:
> From: Johannes Berg <johannes.berg@intel.com>
>
> 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@intel.com>
> ---
> backport/backport-include/linux/debugfs.h | 1 +
> 1 file changed, 1 insertion(+)
>
Thank you for the patch, it was applied and pushed out.
Hauke
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-05-11 21:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-05 13:19 [PATCH] backports: include missing device.h Johannes Berg
2015-05-11 21:57 ` Hauke Mehrtens
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.