From patchwork Fri Jan 18 11:40:12 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Baltieri X-Patchwork-Id: 14111 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id DB68023F02 for ; Fri, 18 Jan 2013 11:41:17 +0000 (UTC) Received: from mail-vc0-f174.google.com (mail-vc0-f174.google.com [209.85.220.174]) by fiordland.canonical.com (Postfix) with ESMTP id 6E474A18121 for ; Fri, 18 Jan 2013 11:41:17 +0000 (UTC) Received: by mail-vc0-f174.google.com with SMTP id n11so1592251vch.33 for ; Fri, 18 Jan 2013 03:41:17 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:x-received:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:x-gm-message-state; bh=QgohnEcMsB3SjjynC2X4uVKNewtU7TkEIwE4PG9ied8=; b=hU8UddRYYqbAim/e9zYr1zV4JWHN2GdDu3DLG0NRTsC18S+uc6fQ5tY26s4i2cc7IB hYypoKCSWIJJIRFCweji4Z1pXpG4ek8sVd41eYX475g3YdJOdkujiBWj3pAxpD5kqlu4 nBu1BOz9rVkCEVRHrVJO+RIC+z+Y3eDyRhv30okMz9t/cI64t0j8vtyNiZItaj7FO+Vp ShBZa3QEZx+BH/MA79y1H2iDk+Z0/AwyxfYoeQwhkUOlxbGrK2l9Rndf9AJCyJf94NtK tKN4an9d4Qf8Sr65zogARDUrM7z5sgYH5fGTAImEJcwqGti+OZXQ7CGolB0w2YVHCbRn M0ew== X-Received: by 10.52.16.6 with SMTP id b6mr5188071vdd.40.1358509276926; Fri, 18 Jan 2013 03:41:16 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.58.145.101 with SMTP id st5csp79378veb; Fri, 18 Jan 2013 03:41:16 -0800 (PST) X-Received: by 10.180.93.41 with SMTP id cr9mr3102045wib.19.1358509276087; Fri, 18 Jan 2013 03:41:16 -0800 (PST) Received: from mail-ea0-f181.google.com (mail-ea0-f181.google.com [209.85.215.181]) by mx.google.com with ESMTPS id 45si5072639eec.61.2013.01.18.03.41.15 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 18 Jan 2013 03:41:16 -0800 (PST) Received-SPF: neutral (google.com: 209.85.215.181 is neither permitted nor denied by best guess record for domain of fabio.baltieri@linaro.org) client-ip=209.85.215.181; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.215.181 is neither permitted nor denied by best guess record for domain of fabio.baltieri@linaro.org) smtp.mail=fabio.baltieri@linaro.org Received: by mail-ea0-f181.google.com with SMTP id i13so497467eaa.40 for ; Fri, 18 Jan 2013 03:41:15 -0800 (PST) X-Received: by 10.14.174.132 with SMTP id x4mr24984803eel.39.1358509275570; Fri, 18 Jan 2013 03:41:15 -0800 (PST) Received: from localhost ([2a01:2029:1:1653:8e70:5aff:feac:ad8]) by mx.google.com with ESMTPS id 6sm6965685eea.3.2013.01.18.03.41.09 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 18 Jan 2013 03:41:14 -0800 (PST) From: Fabio Baltieri To: linux-watchdog@vger.kernel.org, Samuel Ortiz , Wim Van Sebroeck Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Linus Walleij , Lee Jones , Srinidhi Kasagar , Fabio Baltieri Subject: [PATCH 2/4] mfd: dbx500-prcmu: export a9wdog functions Date: Fri, 18 Jan 2013 12:40:12 +0100 Message-Id: <1358509214-22407-3-git-send-email-fabio.baltieri@linaro.org> X-Mailer: git-send-email 1.7.12.1 In-Reply-To: <1358509214-22407-1-git-send-email-fabio.baltieri@linaro.org> References: <1358509214-22407-1-git-send-email-fabio.baltieri@linaro.org> X-Gm-Message-State: ALoCoQnkCifRnTV3fDX/YIxzfMkz7CrntVoj2N+mfSwHFXudynnLp3php6JJPBsxlMBkehoPGO5x Add EXPORT_SYMBOL to db500_prcmu_*_a9wdog functions to allow usage from module. Acked-by: Lee Jones Signed-off-by: Fabio Baltieri --- drivers/mfd/db8500-prcmu.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/mfd/db8500-prcmu.c b/drivers/mfd/db8500-prcmu.c index 268f45d..7a63fa8 100644 --- a/drivers/mfd/db8500-prcmu.c +++ b/drivers/mfd/db8500-prcmu.c @@ -2212,21 +2212,25 @@ int db8500_prcmu_config_a9wdog(u8 num, bool sleep_auto_off) sleep_auto_off ? A9WDOG_AUTO_OFF_EN : A9WDOG_AUTO_OFF_DIS); } +EXPORT_SYMBOL(db8500_prcmu_config_a9wdog); int db8500_prcmu_enable_a9wdog(u8 id) { return prcmu_a9wdog(MB4H_A9WDOG_EN, id, 0, 0, 0); } +EXPORT_SYMBOL(db8500_prcmu_enable_a9wdog); int db8500_prcmu_disable_a9wdog(u8 id) { return prcmu_a9wdog(MB4H_A9WDOG_DIS, id, 0, 0, 0); } +EXPORT_SYMBOL(db8500_prcmu_disable_a9wdog); int db8500_prcmu_kick_a9wdog(u8 id) { return prcmu_a9wdog(MB4H_A9WDOG_KICK, id, 0, 0, 0); } +EXPORT_SYMBOL(db8500_prcmu_kick_a9wdog); /* * timeout is 28 bit, in ms. @@ -2244,6 +2248,7 @@ int db8500_prcmu_load_a9wdog(u8 id, u32 timeout) (u8)((timeout >> 12) & 0xff), (u8)((timeout >> 20) & 0xff)); } +EXPORT_SYMBOL(db8500_prcmu_load_a9wdog); /** * prcmu_abb_read() - Read register value(s) from the ABB.