From patchwork Thu Sep 15 10:45:15 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 9333087 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 9D6B96077F for ; Thu, 15 Sep 2016 10:46:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9517F29536 for ; Thu, 15 Sep 2016 10:46:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8A1742953C; Thu, 15 Sep 2016 10:46:13 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.3 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, SUSPICIOUS_RECIPS, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B6E9929538 for ; Thu, 15 Sep 2016 10:46:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933622AbcIOKp2 (ORCPT ); Thu, 15 Sep 2016 06:45:28 -0400 Received: from mail-qk0-f173.google.com ([209.85.220.173]:36063 "EHLO mail-qk0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933880AbcIOKnb (ORCPT ); Thu, 15 Sep 2016 06:43:31 -0400 Received: by mail-qk0-f173.google.com with SMTP id z190so42763801qkc.3 for ; Thu, 15 Sep 2016 03:43:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=bfLcWtd72woR66M9g1lIiOVb5/iV8crcRnV3KBMW9UI=; b=Ku9FfsY8UdXNbg/iu1kGGS2SQFgM63LFeaVLB7Qz5Q3x07F3ytnWpJYWS0iH7DUaKc TF52RadvdHpk+6wPYaRrIHneG6TZFr+YPJ0A+H11YK2Jfg7TuOlzn+4zq/oibYzvYcvS W8gVxZ8kty9IEpkLeIgeA7deA6Crm675/nLzc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=bfLcWtd72woR66M9g1lIiOVb5/iV8crcRnV3KBMW9UI=; b=WDRgsq0ay3pql9jqZ734PKaWyYo7s8CmOC+CZbNJzneNV/R2M5uX2YQkQUIH0PHfJr kuOtF46vF8GBTkuiOBZgC3vQAf+u0UWeHwItuc04xb7LM5Tmtl8mMJ1o4byyzbwLbxJI je/oQ5nFnFVnmF4WavKbGmIympHBOskleZ2/1dEkaXqy9uU+i1SK/UOmOwsUsGdCEHgV ZudjB9dxPpcazocx1+55Zxf93QW8+/MN7rH5WB8Ik1dzQjRNQ2bQHz3v1K9kdnjf+rjK zZ88mDZ5N2zixZlW4/hOBra9+6nDiunc23KALm0B7bbphFq7hSLtUp+DMgtRJCIeFd08 VEUw== X-Gm-Message-State: AE9vXwO61U6nwpb8FysMYDhuWGTqzxWY0o/q4mMdEsLfBGWrHlQhb9nRxIstqriYmxASX22j X-Received: by 10.194.134.161 with SMTP id pl1mr7467357wjb.81.1473936205348; Thu, 15 Sep 2016 03:43:25 -0700 (PDT) Received: from dell.home (host31-51-85-248.range31-51.btcentralplus.com. [31.51.85.248]) by smtp.gmail.com with ESMTPSA id e2sm2861231wjn.11.2016.09.15.03.43.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 15 Sep 2016 03:43:24 -0700 (PDT) From: Lee Jones To: linus.walleij@linaro.org, tony@atomide.com, linux-omap@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/7] mfd: max8997-irq: 'inline' should be at the beginning of the declaration Date: Thu, 15 Sep 2016 11:45:15 +0100 Message-Id: <20160915104521.14286-2-lee.jones@linaro.org> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20160915104521.14286-1-lee.jones@linaro.org> References: <20160915104521.14286-1-lee.jones@linaro.org> Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Reported by [-Wold-style-declaration]. Signed-off-by: Lee Jones --- drivers/mfd/max8997-irq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/max8997-irq.c b/drivers/mfd/max8997-irq.c index b95a46d7..326f17b 100644 --- a/drivers/mfd/max8997-irq.c +++ b/drivers/mfd/max8997-irq.c @@ -139,7 +139,7 @@ static void max8997_irq_sync_unlock(struct irq_data *data) mutex_unlock(&max8997->irqlock); } -static const inline struct max8997_irq_data * +inline static const struct max8997_irq_data * irq_to_max8997_irq(struct max8997_dev *max8997, struct irq_data *data) { return &max8997_irqs[data->hwirq];