From patchwork Tue Mar 20 16:58:07 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Boyd X-Patchwork-Id: 10297507 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 CC91160385 for ; Tue, 20 Mar 2018 16:58:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BCABB28AD3 for ; Tue, 20 Mar 2018 16:58:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B162B28CC1; Tue, 20 Mar 2018 16:58:10 +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=-6.9 required=2.0 tests=BAYES_00,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 392C128AD3 for ; Tue, 20 Mar 2018 16:58:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751915AbeCTQ6J convert rfc822-to-8bit (ORCPT ); Tue, 20 Mar 2018 12:58:09 -0400 Received: from mail.kernel.org ([198.145.29.99]:47394 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751903AbeCTQ6I (ORCPT ); Tue, 20 Mar 2018 12:58:08 -0400 Received: from localhost (unknown [104.132.1.75]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 4B0BE21770; Tue, 20 Mar 2018 16:58:08 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4B0BE21770 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=sboyd@kernel.org MIME-Version: 1.0 To: David Lechner , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org From: Stephen Boyd In-Reply-To: <1521168778-27236-14-git-send-email-david@lechnology.com> Cc: Michael Turquette , Stephen Boyd , Rob Herring , Mark Rutland , Sekhar Nori , Kevin Hilman , Bartosz Golaszewski , Adam Ford , linux-kernel@vger.kernel.org, David Lechner References: <1521168778-27236-1-git-send-email-david@lechnology.com> <1521168778-27236-14-git-send-email-david@lechnology.com> Message-ID: <152156508760.183971.11983086334390852576@swboyd.mtv.corp.google.com> User-Agent: alot/0.7 Subject: Re: [PATCH v8 13/42] clk: davinci: Add platform information for TI DM355 PSC Date: Tue, 20 Mar 2018 09:58:07 -0700 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 Quoting David Lechner (2018-03-15 19:52:29) > +static int dm355_psc_init(struct device *dev, void __iomem *base) > +{ > + return davinci_psc_register_clocks(base, dm355_psc_info, 42, base); > +} > + Should be dev for that first argument to davinci_psc_register_clocks()? I squashed this in: --- To unsubscribe from this list: send the line "unsubscribe linux-clk" 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/drivers/clk/davinci/psc-dm355.c b/drivers/clk/davinci/psc-dm355.c index 249a05330457..6995ecea2677 100644 --- a/drivers/clk/davinci/psc-dm355.c +++ b/drivers/clk/davinci/psc-dm355.c @@ -70,7 +70,7 @@ static const struct davinci_lpsc_clk_info dm355_psc_info[] = { static int dm355_psc_init(struct device *dev, void __iomem *base) { - return davinci_psc_register_clocks(base, dm355_psc_info, 42, base); + return davinci_psc_register_clocks(dev, dm355_psc_info, 42, base); } static struct clk_bulk_data dm355_psc_parent_clks[] = {