public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] <linux/sysdev.h> needs to include <linux/module.h>
@ 2007-02-24 12:22 Ralf Baechle
  2007-03-01  0:59 ` Andrew Morton
  2007-03-02  6:15 ` Andrew Morton
  0 siblings, 2 replies; 3+ messages in thread
From: Ralf Baechle @ 2007-02-24 12:22 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel

sysdev.h uses THIS_MODULE so should include <linux/module.h>.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

diff --git a/include/linux/sysdev.h b/include/linux/sysdev.h
index 389ccf8..e699ab2 100644
--- a/include/linux/sysdev.h
+++ b/include/linux/sysdev.h
@@ -22,6 +22,7 @@
 #define _SYSDEV_H_
 
 #include <linux/kobject.h>
+#include <linux/module.h>
 #include <linux/pm.h>
 
 

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-03-02  6:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-24 12:22 [PATCH] <linux/sysdev.h> needs to include <linux/module.h> Ralf Baechle
2007-03-01  0:59 ` Andrew Morton
2007-03-02  6:15 ` Andrew Morton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox