From patchwork Tue Jun 2 01:02:09 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hugo Vincent X-Patchwork-Id: 27351 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n5212diK007682 for ; Tue, 2 Jun 2009 01:02:39 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753898AbZFBBCK (ORCPT ); Mon, 1 Jun 2009 21:02:10 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754894AbZFBBCK (ORCPT ); Mon, 1 Jun 2009 21:02:10 -0400 Received: from mail-gx0-f166.google.com ([209.85.217.166]:55409 "EHLO mail-gx0-f166.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754340AbZFBBCJ (ORCPT ); Mon, 1 Jun 2009 21:02:09 -0400 Received: by gxk10 with SMTP id 10so13656369gxk.13 for ; Mon, 01 Jun 2009 18:02:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=tsSSrE3HpOsqDYh4wa6jQ0+6m4nP7gbG4tzpm9JpKT0=; b=ZvQeK8d31Dn24lY43RYOwJWpI9hE4cMbUBTh1rVdRr7X+XKWmgY0z8beKCI/c4VayX xfqrVfHMK7p2hqfvkykD+zsP2XUuiraBusTdkWavlyaJufmLXI7YdRg9/SaWAAQ+U1rJ G8CaUxIRZMn9wRxd3+Nkb5oksmKTS5HvdUxeQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=sIPsN+EDJJ7s2ciQru+kN+yAgdbMkniGo2Jdn+RxdmRt6kD4zlvBtUJB9O6SIZ01tj a2BZ6t3TtklLymhUqwnHmEgJLnF8Q/M/45pZBWVQu0SX9wnp77QRJR7i0DlYNXy7Ng5R uBCNLqYzkxTmPrCz0q98Kg+xUoyU5IT+O3m0U= MIME-Version: 1.0 Received: by 10.151.137.7 with SMTP id p7mr12884879ybn.164.1243904529186; Mon, 01 Jun 2009 18:02:09 -0700 (PDT) Date: Tue, 2 Jun 2009 13:02:09 +1200 Message-ID: <5a7b8b7b0906011802y4abc5ba6m8813d6884825e805@mail.gmail.com> Subject: [PATCH] OMAP3 Overo: add EXPORT_SYMBOLs for Overo ASoC audio to be built as a module. From: Hugo Vincent To: linux-omap@vger.kernel.org Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org I'm pretty new to kernel development, so I don't know any potential problems with doing this, but without this, audio/ASoC support must be built into the kernel (modpost fails when trying to build as modules), whereas with this patch, it can be built and used as a module. Comments? the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm/mach-omap2/control.c b/arch/arm/mach-omap2/control.c index 5f3aad9..aa3d123 100644 --- a/arch/arm/mach-omap2/control.c +++ b/arch/arm/mach-omap2/control.c @@ -46,6 +46,7 @@ u32 omap_ctrl_readl(u16 offset) { return __raw_readl(OMAP_CTRL_REGADDR(offset)); } +EXPORT_SYMBOL(omap_ctrl_readl); void omap_ctrl_writeb(u8 val, u16 offset) { @@ -61,4 +62,5 @@ void omap_ctrl_writel(u32 val, u16 offset) { __raw_writel(val, OMAP_CTRL_REGADDR(offset)); } +EXPORT_SYMBOL(omap_ctrl_writel); -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in