From patchwork Mon Jul 15 20:12:33 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrey Smirnov X-Patchwork-Id: 11044923 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8DF266C5 for ; Mon, 15 Jul 2019 20:13:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7E46D28538 for ; Mon, 15 Jul 2019 20:13:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 729DF28560; Mon, 15 Jul 2019 20:13:11 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI 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 486B928538 for ; Mon, 15 Jul 2019 20:13:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732359AbfGOUNF (ORCPT ); Mon, 15 Jul 2019 16:13:05 -0400 Received: from mail-pl1-f195.google.com ([209.85.214.195]:37638 "EHLO mail-pl1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732344AbfGOUMx (ORCPT ); Mon, 15 Jul 2019 16:12:53 -0400 Received: by mail-pl1-f195.google.com with SMTP id b3so8860374plr.4; Mon, 15 Jul 2019 13:12:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=rliH8Z9/AMGeY4YMz60xVhAI42Yyu7aejFX+MviXFi8=; b=e+N+PDtM5s802dekMVKshzBTu7UFxDCa82kuwmHHsWf/u1Fl+HHN1qJhJuuJWjNB98 dszTDxLAm8YyXwBg8oY3ocSC/eToE/O2TbY1vG9pJKWMdBzo550l/9DW1ZHOkesluyyz EAFa6sS0OR7d4PBAQeQ/xgJdG+rAsGkSvN6e2QSYREeoG7NX7CHwyEsG2PKfEIrYpC2v DxX2A/tRcF78VmqlB9y5mtBK7qs5tArHnFd76zqG4ekhsxh1IF9hiA4Inkfk2NczVPzW 3Wgc1Jotr9N3We4VY+s5J7TtV/YE0u23uoPcKZaEsS5ZQ7I6cqknT/Ss0yxh8VBtUlj1 UlNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=rliH8Z9/AMGeY4YMz60xVhAI42Yyu7aejFX+MviXFi8=; b=m3hg5G8PCJQAHGaphcknDraTizanj/CIxvP8r2jqcY4lSgGIdb/60LVikmAS+XylVy RBYpnK8YrijgF7yH0yxQgE7kXcmeej0/SLavs64vgdGJB80IMBgWir+cnJi38Q1d55PX 4XARaIYloek7S3lr5azLqTQcTRzmpb3A3V0b0YnzXTyMUaWhtuuTmVD0KtSdFGAO/FVW +w2ZALdKvcI5+47AlyZ57ew7Ihflm5rpt2zSFugKPu2cA5w1ObSRy0GQCtDria3PauzT pL0J4RKoxrPhrw2lrQU3Ty6W3nuZWzwaBbIyYveETiTb5TdevYQc60vdSq0yROakhty5 AWbQ== X-Gm-Message-State: APjAAAV8puPOrrytdzLpJPTlwMYPy9RSO0A/V610j+89MWXPK3GMJOzu TIsuW5lIUGQLJdwZQB+8ky6/qnua X-Google-Smtp-Source: APXvYqy8DRjK41Iu4VuR/EY0KSKX5Ch868kLyJrTD9sgAiG2KP6R4bqXde/c2NKif5JiNwcbPJlPqg== X-Received: by 2002:a17:902:6b07:: with SMTP id o7mr29667313plk.180.1563221572139; Mon, 15 Jul 2019 13:12:52 -0700 (PDT) Received: from localhost.lan (c-67-185-54-80.hsd1.wa.comcast.net. [67.185.54.80]) by smtp.gmail.com with ESMTPSA id d21sm7327783pgm.75.2019.07.15.13.12.50 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 15 Jul 2019 13:12:51 -0700 (PDT) From: Andrey Smirnov To: linux-clk@vger.kernel.org Cc: Andrey Smirnov , Russell King , Chris Healy , linux-kernel@vger.kernel.org Subject: [PATCH 5/6] clk: Sync prototypes for clk_bulk_unprepare() Date: Mon, 15 Jul 2019 13:12:33 -0700 Message-Id: <20190715201234.13556-5-andrew.smirnov@gmail.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190715201234.13556-1-andrew.smirnov@gmail.com> References: <20190715201234.13556-1-andrew.smirnov@gmail.com> MIME-Version: 1.0 Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP No-op version of clk_bulk_unprepare() should have the same protoype as the real implementation, so constify the last argument to make it so. Signed-off-by: Andrey Smirnov Cc: Russell King Cc: Chris Healy Cc: linux-clk@vger.kernel.org Cc: linux-kernel@vger.kernel.org --- include/linux/clk.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/linux/clk.h b/include/linux/clk.h index 2d3f2a55795a..3956ae05b1cf 100644 --- a/include/linux/clk.h +++ b/include/linux/clk.h @@ -264,7 +264,8 @@ static inline void clk_unprepare(struct clk *clk) { might_sleep(); } -static inline void clk_bulk_unprepare(int num_clks, struct clk_bulk_data *clks) +static inline void clk_bulk_unprepare(int num_clks, + const struct clk_bulk_data *clks) { might_sleep(); }