[PATCH] powerpc: fix i8042 module build error
Grant Likely
grant.likely at secretlab.ca
Sat Aug 7 04:42:12 EST 2010
of_i8042_{kbd,aux}_irq needs to be exported
Signed-off-by: Grant Likely <grant.likely at secretlab.ca>
---
Stephen and Ben, this fixes up the build error in linux-next. If you prefer,
I can stuff this patch into my next-powerpc branch. Ben, I've got other
commits in that branch that I'll be sending to you early next week anyway.
arch/powerpc/kernel/setup-common.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/arch/powerpc/kernel/setup-common.c b/arch/powerpc/kernel/setup-common.c
index 15ade0d..9d4882a 100644
--- a/arch/powerpc/kernel/setup-common.c
+++ b/arch/powerpc/kernel/setup-common.c
@@ -96,7 +96,9 @@ struct screen_info screen_info = {
/* Variables required to store legacy IO irq routing */
int of_i8042_kbd_irq;
+EXPORT_SYMBOL_GPL(of_i8042_kbd_irq);
int of_i8042_aux_irq;
+EXPORT_SYMBOL_GPL(of_i8042_aux_irq);
#ifdef __DO_IRQ_CANON
/* XXX should go elsewhere eventually */
More information about the Linuxppc-dev
mailing list