]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commitb2dcb8723eb61d00c40d526702d08f6d805f5f01
tree924742f1489f63aff98ed2983166091dc2f6a3b1
parent1bdfd27a0bd65ccdd7294c1080bdb59f6a5a6e72
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