diff mbox

soc: mediatek: Fix SCPSYS compilation

Message ID 1438354993-21098-1-git-send-email-matthias.bgg@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Matthias Brugger July 31, 2015, 3:03 p.m. UTC
SCPSYS driver misses the module.h include which makes it fail
when compiling with allmodconf.

This patch fixes this.

Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 drivers/soc/mediatek/mtk-scpsys.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Olof Johansson Aug. 5, 2015, 9:13 a.m. UTC | #1
On Fri, Jul 31, 2015 at 05:03:13PM +0200, Matthias Brugger wrote:
> SCPSYS driver misses the module.h include which makes it fail
> when compiling with allmodconf.
> 
> This patch fixes this.
> 
> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
> Acked-by: Sascha Hauer <s.hauer@pengutronix.de>

Applied, thanks.


-Olof
diff mbox

Patch

diff --git a/drivers/soc/mediatek/mtk-scpsys.c b/drivers/soc/mediatek/mtk-scpsys.c
index 43a79ed..164a7d8 100644
--- a/drivers/soc/mediatek/mtk-scpsys.c
+++ b/drivers/soc/mediatek/mtk-scpsys.c
@@ -15,6 +15,7 @@ 
 #include <linux/io.h>
 #include <linux/kernel.h>
 #include <linux/mfd/syscon.h>
+#include <linux/module.h>
 #include <linux/of_device.h>
 #include <linux/platform_device.h>
 #include <linux/pm_domain.h>