]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: CSR: PM: fix build error due to undeclared 'THIS_MODULE'
authorBarry Song <baohua.song@csr.com>
Thu, 17 Nov 2011 14:27:22 +0000 (22:27 +0800)
committerBarry Song <Barry.Song@csr.com>
Fri, 2 Dec 2011 03:03:41 +0000 (11:03 +0800)
commit1743df7b087fc5ef9f263a6f1e9aff71928f7a06
tree924742f1489f63aff98ed2983166091dc2f6a3b1
parent3ccbcd7f367643202a443a43333172852b9bd976
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: Barry Song <baohua.song@csr.com>
arch/arm/mach-prima2/pm.c