[Top] [All Lists]

[PATCH] mips: restore init.h usage to arch/mips/ar7/time.c

To: <>
Subject: [PATCH] mips: restore init.h usage to arch/mips/ar7/time.c
From: Paul Gortmaker <>
Date: Thu, 23 Jan 2014 11:46:41 -0500
Cc: John Crispin <>, Ralf Baechle <>, <>
List-archive: <>
List-help: <>
List-id: linux-mips <>
List-owner: <>
List-post: <>
List-software: Ecartis version 1.0.0
List-subscribe: <>
List-unsubscribe: <>
Original-recipient: rfc822;
Commit 0046be10e0c502705fc74d91408eba13a73bc201 ("mips: delete
non-required instances of include <linux/init.h>") inadvertently
removed an include that was actually correct.  Restore it.

Note that it gets init.h implicitly anyway, so this is largely a
cosmetic fixup; no build regressions were caused by this.

Cc: John Crispin <>
Cc: Ralf Baechle <>
Signed-off-by: Paul Gortmaker <>

[ For now, I'll carry the patch in the init cleanup series:

 but feel free to add it or squash it into the mips-next tree
 if the opportunity arises.]

 arch/mips/ar7/time.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/mips/ar7/time.c b/arch/mips/ar7/time.c
index 1dc6c3b37f91..22c93213b233 100644
--- a/arch/mips/ar7/time.c
+++ b/arch/mips/ar7/time.c
@@ -18,6 +18,7 @@
  * Setting up the clock on the MIPS boards.
+#include <linux/init.h>
 #include <linux/time.h>
 #include <linux/err.h>
 #include <linux/clk.h>

<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH] mips: restore init.h usage to arch/mips/ar7/time.c, Paul Gortmaker <=