Skip to content

Commit 0084e47

Browse files
mikeytorvalds
authored andcommitted
powerpc: fix building hvc_opal.c
Fix building following build error: drivers/tty/hvc/hvc_opal.c:244:12: error: 'THIS_MODULE' undeclared here (not in a function) Signed-off-by: Michael Neuling <mikey@neuling.org> [ New file from powerpc tree not following the new rules from the module.h split, both of which were merged today. - Linus ] Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent b32fc0a commit 0084e47

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎drivers/tty/hvc/hvc_opal.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
#include <linux/console.h>
2929
#include <linux/of.h>
3030
#include <linux/of_platform.h>
31+
#include <linux/export.h>
3132

3233
#include <asm/hvconsole.h>
3334
#include <asm/prom.h>

0 commit comments

Comments
 (0)