linux-mips
[Top] [All Lists]

Re: [PATCH v2] MIPS: bcm63xx: clk: Add dummy clk_{set,round}_rate() func

To: Markos Chandras <markos.chandras@imgtec.com>
Subject: Re: [PATCH v2] MIPS: bcm63xx: clk: Add dummy clk_{set,round}_rate() functions
From: Florian Fainelli <f.fainelli@gmail.com>
Date: Tue, 2 Jul 2013 11:46:03 +0100
Cc: Linux-MIPS <linux-mips@linux-mips.org>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=m361KGpdZT5Z9vH/WsoGtXzVOuX87jx9Xhl1lBsygPc=; b=ZyFFx8NV+KiHo3VURO57s77uYgWN218hGYeb5pjceMsZGC2hyRTXZNtZtm5mby9aJC 8KDwm8R26MDR2WPi/Dmccg24J19PTRYrcjHeJxxNtAi0irvNZkNtg+JEWL91df1eUIFz IozNahqVuPwCPoaW2VAwJagHbz5K0BgK+uNWPJqBSFNsBeoOhtMmsv4J2ytwJvn5Rndt Qltpjc+hw1S6PvwbDXx8rHQzZj8nkVvxvAROicdqP+rPvCq3WkALeFESUwoWnH0e5VXU kV7dHS5RERK899MNrn9YNKiDfI+Iozfo+peUdBy5KdF7Lr5DN2N+nohvPkPmYUYJzAJq wfgA==
In-reply-to: <1372760024-26297-1-git-send-email-markos.chandras@imgtec.com>
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-id: linux-mips <linux-mips.eddie.linux-mips.org>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1372760024-26297-1-git-send-email-markos.chandras@imgtec.com>
Sender: linux-mips-bounce@linux-mips.org
2013/7/2 Markos Chandras <markos.chandras@imgtec.com>:
> Several drivers use the clk_{set,round}_rate() functions
> that need to be defined in the platform's clock code.
> The Broadcom BCM63xx platform hardcodes the clock rate so
> we create new clk_{set,round}_rate() functions
> which just return 0 like those in include/linux/clk.h
> for the common clock framework do.
>
> Also fixes the following build problem on a randconfig:
> drivers/built-in.o: In function `nop_usb_xceiv_probe':
> phy-nop.c:(.text+0x3ec26c): undefined reference to `clk_set_rate'
>
> Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
> Acked-by: Steven J. Hill <Steven.Hill@imgtec.com>

Acked-by: Florian Fainelli <florian@openwrt.org>
--
Florian

<Prev in Thread] Current Thread [Next in Thread>