Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3594509pxb; Mon, 24 Jan 2022 13:05:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJwYWCR73qCg/ClNO07Rxzxm5BRqH9W+1Gx6DCCMzBTUkkPzGTxPZzX1JLXF8OzsTqVl9nf+ X-Received: by 2002:a17:90b:1d06:: with SMTP id on6mr199488pjb.6.1643058321655; Mon, 24 Jan 2022 13:05:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643058321; cv=none; d=google.com; s=arc-20160816; b=xk8o87x41aF1CGanHM+4CE38snebMwudKnE/CXzBacHbL4SmxJseWxBG6a+hoA6Upa 1Ut/IkF237DyZ9FnJSf36YfZREEfoU37j/pGavLCU7bqRlR6Q6J2tLmN2s0H5lTyqBl6 biNo/1NtEOPJePsJk0xQ+smkcTSstUY3TNflN/C2TIt1+AnSygodA5NMZJS6zgMMatJo 9dDVYW15YBvd62NNYFI/IvXGeUFE6CIBPdmPINZ4cTLRdF9akYd1efk9W9YN++VHIKWy NQFJdf7j5fMz4KexOKc2Vb+7TG7swPs7sabY+iLUlNsqnqbPq5Xxzrz9oBujs3DHh2QB p0SA== 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=jmjul0eo38IH83LwKdIGfc7fg+U4QRJcvXaOjKqNxp0=; b=USTokNvLNIKAQSj+qXV3sBn6u9apuq02hsKxQ45JvCI+A1n+zMWVgdjlNqw8IuWPdx Ee8Lsd4CJhVgiUS1SDpmLzoE5ym6/po3911CTXlYe5e/watJLAm0SlsFl+uGxFVQGU0X uDrlZFEXPyzsaIGBgT60L9FogFEeCE07z2VfHuwfEKJJ/SQvYv3BzLjufUrLyoIPgueJ Cjnah73Qm3y5x+l6PPgtmHHF9aYijTwvjOyrjLd5iPP7fxkHEx5m2iZwmdsveT3AqAmT Cydg39mEpNkmrWwlEmjyLMBv4fAiSVhovKXqVI1RgzqsdszbdJkBt1pqD7VS+pbXLaq9 VJWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=lKmDTKwS; 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 bc7si12898398plb.21.2022.01.24.13.05.08; Mon, 24 Jan 2022 13:05:21 -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=lKmDTKwS; 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 S1383290AbiAXU1F (ORCPT + 99 others); Mon, 24 Jan 2022 15:27:05 -0500 Received: from ams.source.kernel.org ([145.40.68.75]:42094 "EHLO ams.source.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352176AbiAXT5R (ORCPT ); Mon, 24 Jan 2022 14:57:17 -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 ams.source.kernel.org (Postfix) with ESMTPS id DB54CB811FB; Mon, 24 Jan 2022 19:57:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EF375C340E5; Mon, 24 Jan 2022 19:57:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1643054234; bh=Qbnpal6S+UxOf65CG/ERZROcEXBzaAoH3S2RJUPcGq0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lKmDTKwSKKx+k9xWQVpkoi2Zrts/e9ist8g0ha93Im7bryycYQaU7t9L8dyVVaW14 8ckgWWVmB2cIFKMh2jOW52/b6khYOiTZA1+bBKQCAt9Dn3++FFtKQAEgYwQhrYJOJD 8wLW2LEopzb7ugxX80DFvnoWprDjlXql3IDRWLoo= 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 5.10 289/563] mips: lantiq: add support for clk_set_parent() Date: Mon, 24 Jan 2022 19:40:54 +0100 Message-Id: <20220124184034.446478280@linuxfoundation.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220124184024.407936072@linuxfoundation.org> References: <20220124184024.407936072@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 4916cccf378fd..7a623684d9b5e 100644 --- a/arch/mips/lantiq/clk.c +++ b/arch/mips/lantiq/clk.c @@ -164,6 +164,12 @@ struct clk *clk_get_parent(struct clk *clk) } EXPORT_SYMBOL(clk_get_parent); +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