From patchwork Fri Aug 22 09:44:58 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 35791 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oi0-f71.google.com (mail-oi0-f71.google.com [209.85.218.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 35A802057E for ; Fri, 22 Aug 2014 09:45:15 +0000 (UTC) Received: by mail-oi0-f71.google.com with SMTP id e131sf53877153oig.6 for ; Fri, 22 Aug 2014 02:45:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:date:from:to:cc:subject:message-id :references:mime-version:in-reply-to:user-agent:sender:precedence :list-id:x-original-sender:x-original-authentication-results :mailing-list:list-post:list-help:list-archive:list-unsubscribe :content-type:content-disposition; bh=eQsAVjeeyc7t/W4+r8BjJmK99ZbP/KwHR0x13yA9a1w=; b=Onges1ANzDIAh0DIgir7gMMjO96OicJWfIJNraIE3GKRgfJogxMEmm7mCTfI5CMviN s6FJ7LAkogt1+JF1Tq7uZ6NY5g4yxvk9DxzZ1WpBGrJXNTufQG3ruIveyubendeJeR83 EiY0FzGAbwxjEIyzYPspOe+937a1CgWBnJSBxxLM0rBO28ea29mEfrXr4NDVdWtbpuHK UGCy7oRTr+/m/mM1L9rx9b1xMarak3EDWvrmCXmdBrz0akOaDdVKNy3OgY6TshwEzdfZ 1LOBu0Sb94AYSrme9QcDuAiEEPs92AqorMSpkYBk76R5+e0oVLzxDm+4P5qWMi+B4JDx Qn1A== X-Gm-Message-State: ALoCoQn2wnALTRq7Q03s3Vnq6KP3V+ukfj91gmQdRFeYslahhytHpoxA+XA2CDo0TewdeIiIPHnH X-Received: by 10.183.3.4 with SMTP id bs4mr2736269obd.47.1408700714716; Fri, 22 Aug 2014 02:45:14 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.104.130 with SMTP id a2ls1062738qgf.90.gmail; Fri, 22 Aug 2014 02:45:14 -0700 (PDT) X-Received: by 10.220.105.142 with SMTP id t14mr1557221vco.14.1408700714635; Fri, 22 Aug 2014 02:45:14 -0700 (PDT) Received: from mail-vc0-f174.google.com (mail-vc0-f174.google.com [209.85.220.174]) by mx.google.com with ESMTPS id ik1si13271883vdb.29.2014.08.22.02.45.14 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 22 Aug 2014 02:45:14 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.174 as permitted sender) client-ip=209.85.220.174; Received: by mail-vc0-f174.google.com with SMTP id la4so12147397vcb.33 for ; Fri, 22 Aug 2014 02:45:14 -0700 (PDT) X-Received: by 10.220.190.197 with SMTP id dj5mr3205446vcb.19.1408700714540; Fri, 22 Aug 2014 02:45:14 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.45.67 with SMTP id uj3csp3154vcb; Fri, 22 Aug 2014 02:45:14 -0700 (PDT) X-Received: by 10.68.136.100 with SMTP id pz4mr4802608pbb.119.1408700713677; Fri, 22 Aug 2014 02:45:13 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id gp1si39983834pbd.145.2014.08.22.02.45.09 for ; Fri, 22 Aug 2014 02:45:13 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755473AbaHVJpH (ORCPT + 20 others); Fri, 22 Aug 2014 05:45:07 -0400 Received: from mail-pa0-f51.google.com ([209.85.220.51]:59842 "EHLO mail-pa0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751740AbaHVJpF (ORCPT ); Fri, 22 Aug 2014 05:45:05 -0400 Received: by mail-pa0-f51.google.com with SMTP id ey11so15875147pad.24 for ; Fri, 22 Aug 2014 02:45:03 -0700 (PDT) X-Received: by 10.70.100.164 with SMTP id ez4mr5191315pdb.74.1408700703877; Fri, 22 Aug 2014 02:45:03 -0700 (PDT) Received: from lee--X1 (host86-177-158-225.range86-177.btcentralplus.com. [86.177.158.225]) by mx.google.com with ESMTPSA id ov8sm33956599pdb.92.2014.08.22.02.45.01 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 22 Aug 2014 02:45:03 -0700 (PDT) Date: Fri, 22 Aug 2014 10:44:58 +0100 From: Lee Jones To: kbuild test robot Cc: Mark Brown , Charles Keepax , kbuild-all@01.org, linux-kernel@vger.kernel.org Subject: [PATCH] mfd: wm8994: Export symbols ready for built-in => modular build Message-ID: <20140822094458.GV4266@lee--X1> References: <53f62a3b.Rzd7pzhWx4p+Vvnr%fengguang.wu@intel.com> MIME-Version: 1.0 In-Reply-To: <53f62a3b.Rzd7pzhWx4p+Vvnr%fengguang.wu@intel.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: lee.jones@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.174 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Content-Disposition: inline We'd like to be able to build the WM8994 family as modules, but the build will fail if the external symbols aren't exported first. Signed-off-by: Lee Jones Acked-by: Charles Keepax --- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ diff --git a/drivers/mfd/wm8994-irq.c b/drivers/mfd/wm8994-irq.c index e74dedd..a14407e 100644 --- a/drivers/mfd/wm8994-irq.c +++ b/drivers/mfd/wm8994-irq.c @@ -262,8 +262,10 @@ int wm8994_irq_init(struct wm8994 *wm8994) return 0; } +EXPORT_SYMBOL(wm8994_irq_init); void wm8994_irq_exit(struct wm8994 *wm8994) { regmap_del_irq_chip(wm8994->irq, wm8994->irq_data); } +EXPORT_SYMBOL(wm8994_irq_exit); diff --git a/drivers/mfd/wm8994-regmap.c b/drivers/mfd/wm8994-regmap.c index 770a256..300e9b6 100644 --- a/drivers/mfd/wm8994-regmap.c +++ b/drivers/mfd/wm8994-regmap.c @@ -1252,6 +1252,7 @@ struct regmap_config wm1811_regmap_config = { .volatile_reg = wm1811_volatile_register, .readable_reg = wm1811_readable_register, }; +EXPORT_SYMBOL(wm1811_regmap_config); struct regmap_config wm8994_regmap_config = { .reg_bits = 16, @@ -1266,6 +1267,7 @@ struct regmap_config wm8994_regmap_config = { .volatile_reg = wm8994_volatile_register, .readable_reg = wm8994_readable_register, }; +EXPORT_SYMBOL(wm8994_regmap_config); struct regmap_config wm8958_regmap_config = { .reg_bits = 16, @@ -1280,8 +1282,10 @@ struct regmap_config wm8958_regmap_config = { .volatile_reg = wm8958_volatile_register, .readable_reg = wm8958_readable_register, }; +EXPORT_SYMBOL(wm8958_regmap_config); struct regmap_config wm8994_base_regmap_config = { .reg_bits = 16, .val_bits = 16, }; +EXPORT_SYMBOL(wm8994_base_regmap_config);