Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b2dcb872 authored by Barry Song's avatar Barry Song Committed by Barry Song
Browse files

ARM: CSR: PM: fix build error due to undeclared 'THIS_MODULE'



In the new kernel, we will get the following compile error:
arch/arm/mach-prima2/pm.c:141: error: 'THIS_MODULE' undeclared
here (not in a function)
so include module.h head file explicitly

Signed-off-by: default avatarBarry Song <baohua.song@csr.com>
parent 1bdfd27a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -9,6 +9,7 @@
#include <linux/kernel.h>
#include <linux/suspend.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/of_address.h>
#include <linux/of_device.h>