From patchwork Wed Aug 10 00:36:02 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 73594 Delivered-To: patch@linaro.org Received: by 10.140.29.52 with SMTP id a49csp148303qga; Tue, 9 Aug 2016 17:36:27 -0700 (PDT) X-Received: by 10.98.75.65 with SMTP id y62mr1983139pfa.99.1470789387719; Tue, 09 Aug 2016 17:36:27 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id zr3si45213608pac.131.2016.08.09.17.36.26; Tue, 09 Aug 2016 17:36:27 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751119AbcHJAg0 (ORCPT + 8 others); Tue, 9 Aug 2016 20:36:26 -0400 Received: from mail-pf0-f170.google.com ([209.85.192.170]:34962 "EHLO mail-pf0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752499AbcHJAgZ (ORCPT ); Tue, 9 Aug 2016 20:36:25 -0400 Received: by mail-pf0-f170.google.com with SMTP id x72so9831022pfd.2 for ; Tue, 09 Aug 2016 17:36:05 -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; bh=DLvP7muAk5mnwgm9H7igsUYueAhNaRYgslbZF/N8WKU=; b=Oa8gvC0IkFZqjSoyounYQxBnooTroNvwGWAPv3j20o3F0bZUtfj4X9zwi6E/lShCBH s3I9Wm36xz7V2KP/bOntyaIhYutPpxpO96ZxLus5nyfKJMcLHNLX0RAec2H3BuGz9qEI rUHQkc7Ad7UaLF0W8iKc1lF+Wz9y2QRW8XP3o= 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; bh=DLvP7muAk5mnwgm9H7igsUYueAhNaRYgslbZF/N8WKU=; b=lX9htORYYbAYxrwcv+5BPPKAN3J1PgvOqwFkskIm/KBEBUn1cO8SfH3+h/2hQTcsjL LrRtks208GjIBczMyRQGA1FuqdCImrk65VyzIaHVuHip0AFiCi5VQweOBay51kwsnSFz jLJeqCV8BAAJPReW+wINhoBUIyNHLLaug95dbZb1CzIwn6XtTWXaHnN3DHqMzRMFPgyz r9alNcS0RTD8Lkq+1QXCPRHO1kuxhFNXW3ObjFgnYxPtBn6+il7LPIawEB8HeDzXUNrW DLWzbMEhoUZKj50dshzQ1ccU1eBigydq1gpm/nWYvDHYPjvp5ar2DmNixj228jaRfalM QM4g== X-Gm-Message-State: AEkooutjeai6VUUj75ndJpMN4K91WTn5iqyRSIMSW2+5EX0drKKodLNPvcadqoezTHDEEYBe X-Received: by 10.98.79.27 with SMTP id d27mr1994536pfb.127.1470789365389; Tue, 09 Aug 2016 17:36:05 -0700 (PDT) Received: from localhost.localdomain (ip68-111-223-48.sd.sd.cox.net. [68.111.223.48]) by smtp.gmail.com with ESMTPSA id r10sm58647748pfk.84.2016.08.09.17.36.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 09 Aug 2016 17:36:04 -0700 (PDT) From: Bjorn Andersson To: Andy Gross Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] soc: qcom: smd: Correct compile stub prototypes Date: Tue, 9 Aug 2016 17:36:02 -0700 Message-Id: <1470789362-5235-1-git-send-email-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.5.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The prototypes for the compile stubs was not properly marked as static inline, this patch corrects this. Fixes: f79a917e69e1 ("Merge tag 'qcom-soc-for-4.7-2' into net-next") Signed-off-by: Bjorn Andersson --- include/linux/soc/qcom/smd.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.5.0 -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/include/linux/soc/qcom/smd.h b/include/linux/soc/qcom/smd.h index cbb0f06c41b2..910ce1d9ba89 100644 --- a/include/linux/soc/qcom/smd.h +++ b/include/linux/soc/qcom/smd.h @@ -83,14 +83,14 @@ qcom_smd_open_channel(struct qcom_smd_channel *channel, return NULL; } -void *qcom_smd_get_drvdata(struct qcom_smd_channel *channel) +static inline void *qcom_smd_get_drvdata(struct qcom_smd_channel *channel) { /* This shouldn't be possible */ WARN_ON(1); return NULL; } -void qcom_smd_set_drvdata(struct qcom_smd_channel *channel, void *data) +static inline void qcom_smd_set_drvdata(struct qcom_smd_channel *channel, void *data) { /* This shouldn't be possible */ WARN_ON(1);