From patchwork Fri Aug 6 18:42:12 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Grant Likely X-Patchwork-Id: 61129 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from bilbo.ozlabs.org (localhost [127.0.0.1]) by ozlabs.org (Postfix) with ESMTP id 79F1B10080A for ; Sat, 7 Aug 2010 04:42:28 +1000 (EST) Received: from mail-px0-f179.google.com (mail-px0-f179.google.com [209.85.212.179]) by ozlabs.org (Postfix) with ESMTP id 0E616B6EE9 for ; Sat, 7 Aug 2010 04:42:17 +1000 (EST) Received: by pxi2 with SMTP id 2so3644366pxi.38 for ; Fri, 06 Aug 2010 11:42:15 -0700 (PDT) Received: by 10.142.171.7 with SMTP id t7mr10510837wfe.214.1281120135468; Fri, 06 Aug 2010 11:42:15 -0700 (PDT) Received: from angua (S01060002b3d79728.cg.shawcable.net [70.72.87.49]) by mx.google.com with ESMTPS id w8sm1742599wfd.19.2010.08.06.11.42.14 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 06 Aug 2010 11:42:14 -0700 (PDT) Received: from [127.0.1.1] (unknown [IPv6:::1]) by angua (Postfix) with ESMTP id ECABB3C0105; Fri, 6 Aug 2010 12:42:12 -0600 (MDT) Subject: [PATCH] powerpc: fix i8042 module build error To: martyn.welch@ge.com, benh@kernel.crashing.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, sfr@canb.auug.org.au From: Grant Likely Date: Fri, 06 Aug 2010 12:42:12 -0600 Message-ID: <20100806183839.32149.6238.stgit@angua> User-Agent: StGit/0.15 MIME-Version: 1.0 X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org of_i8042_{kbd,aux}_irq needs to be exported Signed-off-by: Grant Likely --- 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 */