]> 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)
commitbbc66b4e9faf540ae7172d4a9242f1172fbfde3f
tree924742f1489f63aff98ed2983166091dc2f6a3b1
parentba4003b11d50acd16ee89a325a574463c582bdd8
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