From patchwork Mon Mar 18 19:38:51 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 160510 Delivered-To: patches@linaro.org Received: by 2002:a02:5cc1:0:0:0:0:0 with SMTP id w62csp3029548jad; Mon, 18 Mar 2019 12:41:01 -0700 (PDT) X-Received: by 2002:a1c:7a1a:: with SMTP id v26mr374749wmc.129.1552938061438; Mon, 18 Mar 2019 12:41:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552938061; cv=none; d=google.com; s=arc-20160816; b=ehQr9urtEkHKfC390FmHfQ1U9Q2gdbcyo3lrRbU9YZtpAo2xvjM8SmUzcq4FcAfW88 yG2ZQBGn2oenAx58c6mxilRHe5+3Zj+L7Ob+mG/gvqDsTsqGuFG1GpWECm/+W1ke+t4W VZhlf7rLzTwAJcy0poIphV2GPVi+w0rxsseSmSeTPIqNU1JPOTJ4ou5cv8XUtNyubov+ 1Ji4nlX2c2T30asp9+/BQfG9U9TTRE4HP6ODMRZYMv9z1/o3TP5ShizSMaWlUoj8+uUc FuCjuTnY4+2vymvXnc0DVRiZH3dMXvaVYFmhcsxXsiqEdg8ARveVBaKUsKVYQ5M6vIE1 DinQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=f+uCN0dtjEGnlJv3pfIkjdcZRrqjbDiHnBp4IPbDmW4=; b=o1JnDWlwxe5VmGPemJEsPvWJkgve26wc+0ajYeYnK/jZJBjPM+fKduG5qlAAiU+b6k 6EuT6LwNF5599L3MXOsZB7iLg2g0KZCVcnzFL6Dl4JWTtjbPFoSMHTm28G+xstWcZMlP NqpPi006j+vbzmqxpXyfmNvSZZr0pUHRhI4qeNuLHrxWZ+5Tz/nIrYlD/1xwFqsvTteT TzPfi1vFYdSEcQBH0r+cvWgKsLExfV7UC2ospgUxKW1S3h5eMolqxhp/NSuVv1/+Cf63 Uu4x3IuwugdIU5m3GSrY/cFaLZaGpYBUfAdFSTgxVQ3YOG6mXLcexGV5G6j9AMNzlSf7 qN8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rDY5Z6be; spf=pass (google.com: domain of peter.griffin@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=peter.griffin@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id b16sor3676300wrv.6.2019.03.18.12.41.01 for (Google Transport Security); Mon, 18 Mar 2019 12:41:01 -0700 (PDT) Received-SPF: pass (google.com: domain of peter.griffin@linaro.org designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rDY5Z6be; spf=pass (google.com: domain of peter.griffin@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=peter.griffin@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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=f+uCN0dtjEGnlJv3pfIkjdcZRrqjbDiHnBp4IPbDmW4=; b=rDY5Z6beU5to+2BGAZgeIkJkgr3wfP/KjLMRUdOpcCW6YCcJ4RivVQwKnooXBtJ2dj 7ok/tS8E0MGmIRyTmVgHPxRcJwd/tiRKSmPIbanxJm74jm/pZ3aUUI75FRp5+v5K/aTk vzJp68jARltyDy5MT0btgZdSjS5LTLQuLPAVaefO6yYD3maHUd2VxrlHDHVybALZ4mpK 5TzpsvylL5K4z+4aF+zVwWWRNby21sQ+vjjhehkTawWw9y+hheExStyuzngOL6bFP6w5 apFCKS0evYsNOvuWmCAb6rPc8eehmHkyOGdrVFROzko5ZAx02jSkcjFrS7KFWRNA+IsB nZtA== 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; bh=f+uCN0dtjEGnlJv3pfIkjdcZRrqjbDiHnBp4IPbDmW4=; b=UrfYr5r/Bx2U8B/UZnx7d/BOfaT7tizE/5p+9DbkyuPH7AxbWw8Xtr0epLBXXRhc3G lvljzlfPyt3D4lQDQeDOvLbgcn+w1ZDiuu6X9bWEjB9y1snltv6+w2uWGItPFTIS2m/k +AOPOy5I+73BiWZHZ8sqaDY5k8nissGLOxa8A9M42a60pJdAyIB7mD+8Ku+qMvThcZIu URzVUOHZrmfj7mDkNNQSEXZu0WkLZCmey1KsQWLo1XcK3nSaCoz2flY4th2TLNgQvwv9 or+NdjJac7EwLkFhenyng0zLUlpghKzOWhuhftgkoQmsoLlF0ObvINcBbblRd2RfPoQs pnPw== X-Gm-Message-State: APjAAAXMpfhdPOx7nF38ghL4pJcQI8KK2rPe0CVwu06mg+mimwBuSWMY Dtx3RQ56/UCB9lzyu7oJjKpabQHS X-Google-Smtp-Source: APXvYqx+OpyuPhR9OKH2oYNzz4yUdu4KL8pJugxaOx7zkWRlZz+b/DZpiR2HE59qYxCt/JwwY6NXNQ== X-Received: by 2002:adf:fb82:: with SMTP id a2mr4551043wrr.214.1552938061153; Mon, 18 Mar 2019 12:41:01 -0700 (PDT) Return-Path: Received: from localhost.localdomain (cpc89244-aztw30-2-0-cust4998.18-1.cable.virginm.net. [86.31.179.135]) by smtp.gmail.com with ESMTPSA id s10sm4583941wrv.56.2019.03.18.12.41.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 18 Mar 2019 12:41:00 -0700 (PDT) From: Peter Griffin To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, airlied@linux.ie, daniel@ffwll.ch, robh+dt@kernel.org, mark.rutland@arm.com, p.zabel@pengutronix.de, xuwei5@hisilicon.com, mturquette@baylibre.com, sboyd@kernel.org Cc: john.stultz@linaro.org, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-clk@vger.kernel.org, yuq825@gmail.com Subject: [PATCH v1 6/6] clk: hi6220: use CLK_OF_DECLARE_DRIVER Date: Mon, 18 Mar 2019 19:38:51 +0000 Message-Id: <1552937931-23050-7-git-send-email-peter.griffin@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1552937931-23050-1-git-send-email-peter.griffin@linaro.org> References: <1552937931-23050-1-git-send-email-peter.griffin@linaro.org> As now we also need to probe in the reset driver as well. Signed-off-by: Peter Griffin --- drivers/clk/hisilicon/clk-hi6220.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.4 diff --git a/drivers/clk/hisilicon/clk-hi6220.c b/drivers/clk/hisilicon/clk-hi6220.c index a87809d..952ffe2 100644 --- a/drivers/clk/hisilicon/clk-hi6220.c +++ b/drivers/clk/hisilicon/clk-hi6220.c @@ -89,7 +89,7 @@ static void __init hi6220_clk_ao_init(struct device_node *np) hisi_clk_register_gate_sep(hi6220_separated_gate_clks_ao, ARRAY_SIZE(hi6220_separated_gate_clks_ao), clk_data_ao); } -CLK_OF_DECLARE(hi6220_clk_ao, "hisilicon,hi6220-aoctrl", hi6220_clk_ao_init); +CLK_OF_DECLARE_DRIVER(hi6220_clk_ao, "hisilicon,hi6220-aoctrl", hi6220_clk_ao_init); /* clocks in sysctrl */