Browse Source

drivers/clocksource: Add module.h to those who were using it implicitly

A pending cleanup will mean that module.h won't be implicitly
everywhere anymore.  Make sure the modular drivers in clocksource
are actually calling out for <module.h> explicitly in advance.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Paul Gortmaker 14 years ago
parent
commit
7deeab5dc4
3 changed files with 3 additions and 0 deletions
  1. 1 0
      drivers/clocksource/sh_cmt.c
  2. 1 0
      drivers/clocksource/sh_mtu2.c
  3. 1 0
      drivers/clocksource/sh_tmu.c

+ 1 - 0
drivers/clocksource/sh_cmt.c

@@ -31,6 +31,7 @@
 #include <linux/clockchips.h>
 #include <linux/sh_timer.h>
 #include <linux/slab.h>
+#include <linux/module.h>
 
 struct sh_cmt_priv {
 	void __iomem *mapbase;

+ 1 - 0
drivers/clocksource/sh_mtu2.c

@@ -30,6 +30,7 @@
 #include <linux/clockchips.h>
 #include <linux/sh_timer.h>
 #include <linux/slab.h>
+#include <linux/module.h>
 
 struct sh_mtu2_priv {
 	void __iomem *mapbase;

+ 1 - 0
drivers/clocksource/sh_tmu.c

@@ -31,6 +31,7 @@
 #include <linux/clockchips.h>
 #include <linux/sh_timer.h>
 #include <linux/slab.h>
+#include <linux/module.h>
 
 struct sh_tmu_priv {
 	void __iomem *mapbase;