From patchwork Thu Apr 2 15:41:45 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 6150441 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 600FC9F389 for ; Thu, 2 Apr 2015 15:46:37 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 97D89203AF for ; Thu, 2 Apr 2015 15:46:36 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D21A9203AD for ; Thu, 2 Apr 2015 15:46:35 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1YdhGP-0005Pi-Us; Thu, 02 Apr 2015 15:42:37 +0000 Received: from mail-pa0-x236.google.com ([2607:f8b0:400e:c03::236]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YdhG8-0004z1-UA for linux-arm-kernel@lists.infradead.org; Thu, 02 Apr 2015 15:42:21 +0000 Received: by pactp5 with SMTP id tp5so87619344pac.1 for ; Thu, 02 Apr 2015 08:41:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=eR2zUnCKq9HPw0/g4m2SAhGxuKxMa7Tqh/PX6kB9/3Y=; b=In/+ktdig1LREDHb3T1pZ9bRY+B2fw/t0TYidqnIIUuZu/CQ7/Kpefv9NYKmPhA0OU T2WW5iYrpBQGqZmBMsn+aHkWzMeNvs6+Zr47FrIoX8IqvVm4r2BRrW8STWeYcm9uu0sq sS2/V5DGtXBCwhY5tgfI8TgPTwfV5kry/NGvcVamnDncxkrWMI19RL5LQI1aK3VR/MTf OY5SxkZfWCWjic6wFCkY38YUyzIkS/Db36o5qKW1m4G+Vw7NJWdTht4QslMSn9c7ddir 1FnLFNWpoT7e8Xuh3eAyGU00wf9pzQQCFk1lbG2PvOMariwaZllW9Qmt0/+mIArFQ+sf 9Zvg== X-Received: by 10.66.248.40 with SMTP id yj8mr88377089pac.141.1427989317308; Thu, 02 Apr 2015 08:41:57 -0700 (PDT) Received: from fangorn.rup.mentorg.com (nat-min.mentorg.com. [139.181.32.34]) by mx.google.com with ESMTPSA id 5sm5597633pdg.45.2015.04.02.08.41.55 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 02 Apr 2015 08:41:56 -0700 (PDT) From: Dmitry Eremin-Solenikov To: Russell King , Samuel Ortiz , Lee Jones Subject: [PATCH 1/3] mfd: ucb1x00: add irq field to the platform data Date: Thu, 2 Apr 2015 18:41:45 +0300 Message-Id: <1427989307-1805-1-git-send-email-dbaryshkov@gmail.com> X-Mailer: git-send-email 2.1.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150402_084221_048683_15DD5461 X-CRM114-Status: GOOD ( 10.41 ) X-Spam-Score: -0.8 (/) Cc: linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP To allow boards to specify the irq that is used by UCB1x00 chip, add irq field to the platform data structure. Signed-off-by: Dmitry Eremin-Solenikov --- include/linux/mfd/ucb1x00.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/mfd/ucb1x00.h b/include/linux/mfd/ucb1x00.h index e1345ff..9a2dacb 100644 --- a/include/linux/mfd/ucb1x00.h +++ b/include/linux/mfd/ucb1x00.h @@ -118,6 +118,7 @@ struct ucb1x00_plat_data { unsigned irq_base; int gpio_base; unsigned can_wakeup; + int irq; }; struct ucb1x00 {