diff mbox

soc: mediatek: Fix SCPSYS compilation

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

Commit Message

Matthias Brugger July 29, 2015, 6: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>
---
 drivers/soc/mediatek/mtk-scpsys.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Sascha Hauer July 30, 2015, 6:28 a.m. UTC | #1
On Wed, Jul 29, 2015 at 08:03:08PM +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>

Sascha
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>