Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3560718pxb; Mon, 24 Jan 2022 12:14:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJwHufuIEzXmPsxevEWeQNXSuZq8Fhi99bb8Vt/SUHwSiar43VQ2rWzWGhQdT03Hq69S9pVF X-Received: by 2002:a17:903:18b:b0:14b:2aa6:d36 with SMTP id z11-20020a170903018b00b0014b2aa60d36mr12513752plg.127.1643055266109; Mon, 24 Jan 2022 12:14:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643055266; cv=none; d=google.com; s=arc-20160816; b=fw1GhXqlzoBaDUeJ9nXRO9JsaJS/GH7sZb5p/vRJZCW9ziKBqhQtKKuyjT387NVCEC BTUtUf8Umm797PVwnIrDqlaayecs0opkt345ddB7nlC4vI9dlnTNBdJ8Um4s2ORGGUso T0hk15sCo37WGQD8BV+SWOoXO43BPXPJDUYrLttkXOCmmS6v1g/lIIVFgo4mIJK2eFQo Y2c7rx6vxRJxGjUg/Y3iLY4zi/9N9AK4ZSDNNsPQfcw/d1potwlbM08BPSh+KTMjwf3i kPqdBUlrYWZRZKvtX8NL/AgYm8/Ro66B6xhW9dh3HzZI6mHxVBOHJ3kmSCBhb9O2xP9A UdgA== 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=zbs9WbdADryb5MlGA/FtmW6d1932MN9JZpss+KTaRr8=; b=VV1Q1T2huEulig3cZPcDY9vPyUSl6zIsMTI7njsH0MH5Lw9OZJZKxghf5qr+/jijkn YnwdBUJQa8mXW5g7SN36yWkvSsGgoCDuA7B0zLfP/cbEfHisVmW51GGgmTm6W/QkqJkl Rb1XxHASIOj829DoqKgLFq6fY0FqTgg6HFuIgDZHcuNDGaB0GGWPy3F0f0scArp5HACH 8unwTgYHIVIv68JxTduZ8/3p3ZV8NAJba2SjsjvdeXl3jBVqKgHbDxPzqXrhXLp+LshK LwdsfSK4orraRDdOejBIt29GAalHcTLK1hE87IiQ7AjeTi6My0m8n1Lx0oDNljQRwpC7 qpZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Yp0d9xtO; 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 d5si13496728pls.160.2022.01.24.12.14.13; Mon, 24 Jan 2022 12:14:26 -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=Yp0d9xtO; 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 S1346141AbiAXTRh (ORCPT + 99 others); Mon, 24 Jan 2022 14:17:37 -0500 Received: from dfw.source.kernel.org ([139.178.84.217]:36400 "EHLO dfw.source.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345862AbiAXTG3 (ORCPT ); Mon, 24 Jan 2022 14:06:29 -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 9294860BB9; Mon, 24 Jan 2022 19:06:28 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6A519C340E5; Mon, 24 Jan 2022 19:06:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1643051188; bh=wNJQ1Il1mgRJmfGV4m1U3Mn/8rvUO5cjMqt67o9ex3M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Yp0d9xtOKZ+0rcluJELQ6GBmL0se5Jr6YjZlUsDiUb+0ApGchO39KgF5EbpOwWdjH HkFjwUgO9v/OKIjePwAy2L1vOqwxau+M36IbRw0eEd0n5c5N8+APvxG29OfUI8Ewm4 bosT7CPqv1kpOjKAO908QqspzWeAOawXYd0ndgzQ= 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.14 083/186] mips: lantiq: add support for clk_set_parent() Date: Mon, 24 Jan 2022 19:42:38 +0100 Message-Id: <20220124183939.789780159@linuxfoundation.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220124183937.101330125@linuxfoundation.org> References: <20220124183937.101330125@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 a8e309dcd38d7..f5fab99d1751c 100644 --- a/arch/mips/lantiq/clk.c +++ b/arch/mips/lantiq/clk.c @@ -166,6 +166,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