Skip to content

Commit 7deeab5

Browse files
author
Paul Gortmaker
committed
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>
1 parent c05aa8f commit 7deeab5

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

‎drivers/clocksource/sh_cmt.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
#include <linux/clockchips.h>
3232
#include <linux/sh_timer.h>
3333
#include <linux/slab.h>
34+
#include <linux/module.h>
3435

3536
struct sh_cmt_priv {
3637
void __iomem *mapbase;

‎drivers/clocksource/sh_mtu2.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
#include <linux/clockchips.h>
3131
#include <linux/sh_timer.h>
3232
#include <linux/slab.h>
33+
#include <linux/module.h>
3334

3435
struct sh_mtu2_priv {
3536
void __iomem *mapbase;

‎drivers/clocksource/sh_tmu.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
#include <linux/clockchips.h>
3232
#include <linux/sh_timer.h>
3333
#include <linux/slab.h>
34+
#include <linux/module.h>
3435

3536
struct sh_tmu_priv {
3637
void __iomem *mapbase;

0 commit comments

Comments
 (0)