Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3548241pxb; Mon, 24 Jan 2022 11:58:24 -0800 (PST) X-Google-Smtp-Source: ABdhPJwuV6h+sBtGR7F46LlVD3MErRjXpAOG1AUr0D1UIDd1krCzoqpF71XekaaxncsUfdrGJnwc X-Received: by 2002:a63:85c6:: with SMTP id u189mr11834726pgd.407.1643054304414; Mon, 24 Jan 2022 11:58:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643054304; cv=none; d=google.com; s=arc-20160816; b=Yvq4lsyv+cmXaGqGwK7DCMs4n+7sq14VdgZYw/zANOpTxHJhSiepUBm0ix3aRRuZuV opNkqIoqmHqG1cjFRkraz9RUGGzuFJspqFmy7SIXmE+8frc65809RRJklKWtfccHnbBp Bh3ESn+Wzwi6I7a7YFGLrHdVjkLWvgaWKQd7rhaBojQYnSR/UMtbL6sslK0oIRnGCbhr GEaILW8pWaWkkg6A3xOAHk0sb6BBJ/Kn3SEeFZ3W2FHUm0qgTzDpvCzl3l2/sHztdX2B iGYs+sqeF+wiJctRkA+wIoGtdUX25+rHO9hJBnzS68iChqDmOm0mW2xFIsB7JMhDak2y oC6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=7D08tpJvF5DnIShxsJC3yaiDLxildNSdwzhdNv1jVpY=; b=X1mnmKCcEJufFdCUcydwifIN/0QcnzE01mnVStFGF1H5GvRR11/PWFxsfz49rXUsBa qYnB8umNiDgs5mD9ZbkxOa0wzJa+L+U4+VTeZN6jJpcxsRj/CiCdGg8eOCwq071xHgCX aErp3e8hm4l3VsbCVAt5kSV6AhQ4+JZgAFzCmA0hANAY7DdhZD32p6FeDC7gjbIcBtX6 Sn3Rm3o41OBqIt8N73yFSxOJhjjOFld1/88fa2GIe0flc3u+4H+WDj4wz3uCgN2B9P9J LF2utoPm63nbNwNoNKjmMIbHW5xW8d/P/bLcpmeHdWLI3ZpHN0iFzAvkqraJTN5rTgJt cQzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=PJzuhCql; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e21si10385146pgj.698.2022.01.24.11.58.12; Mon, 24 Jan 2022 11:58:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=PJzuhCql; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343618AbiAXSx5 (ORCPT + 99 others); Mon, 24 Jan 2022 13:53:57 -0500 Received: from dfw.source.kernel.org ([139.178.84.217]:51480 "EHLO dfw.source.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343877AbiAXSwW (ORCPT ); Mon, 24 Jan 2022 13:52:22 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 6C7EA614E5; Mon, 24 Jan 2022 18:52:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 75F43C340E8; Mon, 24 Jan 2022 18:52:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1643050341; bh=doETBAvxueIqZl8ijjF86AueapnD81Xaah17I3OIXA4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PJzuhCqlJEIVbzpIrunex7ubplCgoNg1+aaQMiZblHw/mMmGOfr+aUHHvPq5MdA+l 1g5zGfqtKnKbvZDgwMxO/ffndrSmzxDmDASQhTR7lMxfZRVizon/qSaKpRapXTGkud w1reNiAuqdCG4IBHC2kRHuhcN2kHYhlpOyGUuTYw= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Randy Dunlap , kernel test robot , Jonathan Cameron , Thomas Bogendoerfer , Sasha Levin Subject: [PATCH 4.4 054/114] mips: lantiq: add support for clk_set_parent() Date: Mon, 24 Jan 2022 19:42:29 +0100 Message-Id: <20220124183928.773171920@linuxfoundation.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220124183927.095545464@linuxfoundation.org> References: <20220124183927.095545464@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Randy Dunlap [ Upstream commit 76f66dfd60dc5d2f9dec22d99091fea1035c5d03 ] Provide a simple implementation of clk_set_parent() in the lantiq subarch so that callers of it will build without errors. Fixes these build errors: ERROR: modpost: "clk_set_parent" [sound/soc/jz4740/snd-soc-jz4740-i2s.ko] undefined! ERROR: modpost: "clk_set_parent" [sound/soc/atmel/snd-soc-atmel-i2s.ko] undefined! Fixes: 171bb2f19ed6 ("MIPS: Lantiq: Add initial support for Lantiq SoCs") Signed-off-by: Randy Dunlap Reported-by: kernel test robot --to=linux-mips@vger.kernel.org --cc="John Crispin " --cc="Jonathan Cameron " --cc="Russell King " --cc="Andy Shevchenko " --cc=alsa-devel@alsa-project.org --to="Thomas Bogendoerfer " Reviewed-by: Jonathan Cameron Signed-off-by: Thomas Bogendoerfer Signed-off-by: Sasha Levin --- arch/mips/lantiq/clk.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/mips/lantiq/clk.c b/arch/mips/lantiq/clk.c index a0706fd4ce0a0..80bdcb26ef8a3 100644 --- a/arch/mips/lantiq/clk.c +++ b/arch/mips/lantiq/clk.c @@ -165,6 +165,12 @@ struct clk *of_clk_get_from_provider(struct of_phandle_args *clkspec) return NULL; } +int clk_set_parent(struct clk *clk, struct clk *parent) +{ + return 0; +} +EXPORT_SYMBOL(clk_set_parent); + static inline u32 get_counter_resolution(void) { u32 res; -- 2.34.1