Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3550973pxb; Mon, 24 Jan 2022 12:02:07 -0800 (PST) X-Google-Smtp-Source: ABdhPJzUhCj+UDmAKnNwBOqcirGdYD2KA5YIxXSIg60Vc5yI+tsgQ+U+YbwlXP7Z+2fi/SVOXGSN X-Received: by 2002:a63:3f0e:: with SMTP id m14mr12905888pga.376.1643054527557; Mon, 24 Jan 2022 12:02:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643054527; cv=none; d=google.com; s=arc-20160816; b=s8YHEUDCnPfvZq20xLOQ3TDlmwlCBfFLg971sq+ribPX9enICyTjIIUBWoNnnlFYV/ bVad2OEaFlU1RSTkQJKvU+BXBMLvh0xPQPOUAK5s1KsnlB2xS6L3n2HoqaV3vZqcZiYd lOEY2HtO5nXIwcUgZZH9X7Kb2xZkD7FQ/ttMaJlVIS53j7+U8TUTQ1Yc5+sGA1N8//44 ZAb5ERv9vTXRkrZpm5FsUZ6Hi4ltzNkP+SMoTZ5wVbBsopYl5tkTg4MA9OQ6Ug+AMCJW PJln6Cysg4A9m8ICsZHl3emvELdPRFWsxeuhPEt7DYGiraVsFk1FbPbcSb2DJtE/cKoe 4rTA== 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=6/NO4lmDPWaeJtfjYyd94G+yY1+5ocTI9EBPw3jivHA=; b=DO9R7vPNJNqo63t4+6efLCaiNGGR18xYUW4nHguLKdzFNufDZrXGBSI20WEiVnDnW0 W1p1Tvosw2nbRPCRqTJxbySUDxRDyS/8+YeK+sG+XvoGW3ErCKxxVQrmTYGvl7JO6R2T 4LlxuUXOU/3Y2rd73Z9t8F3OuKdjnb2HWnAGJ0lrS/jQnN8pudVtG8dOwfMx/eewJSjy /Wg2RJF7uYjnRWT4bu/IXbDzyWNh2Un21gywAqcmeiK6S3Qy8SamTRxtQ7+GjhaUrbhW TvzjIDVEbgI+a1IQIJ4CD5E/gc698na9RvfB6KjiAVwQifTvE8inS/ufY6T8veLH2DVx YLBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=NTAAXCER; 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 f5si5651606pgc.308.2022.01.24.12.01.55; Mon, 24 Jan 2022 12:02:07 -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=NTAAXCER; 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 S1344322AbiAXTBj (ORCPT + 99 others); Mon, 24 Jan 2022 14:01:39 -0500 Received: from ams.source.kernel.org ([145.40.68.75]:55464 "EHLO ams.source.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344476AbiAXS5h (ORCPT ); Mon, 24 Jan 2022 13:57:37 -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 66BACB81239; Mon, 24 Jan 2022 18:57:35 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7F907C340E5; Mon, 24 Jan 2022 18:57:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1643050654; bh=gv03a/CWi+yexEoIcHsTlDZu6ixquMHZ02S4S20gDIs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NTAAXCER7RIAw219iFnd5br3Gk6mNQ3qmawZpsvyC+VeuuSfpOeSRSvUlDKNbUVUZ uot7Vneh60FEubIyTBTEInAHsvJQerLIzHvTsLLqT5UsRPPliPFY53mCnuVic73DlW kQVQWH8RfrDqTzd6c4B/WKICiHTDjKoxERFxyXO0= 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.9 070/157] mips: lantiq: add support for clk_set_parent() Date: Mon, 24 Jan 2022 19:42:40 +0100 Message-Id: <20220124183935.014225574@linuxfoundation.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220124183932.787526760@linuxfoundation.org> References: <20220124183932.787526760@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 149f0513c4f5d..d1de57b86683c 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