Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161399AbbKSUdj (ORCPT ); Thu, 19 Nov 2015 15:33:39 -0500 Received: from smtp-79.nebula.fi ([83.145.220.79]:45817 "EHLO smtp.nebula.fi" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1161238AbbKSUdh (ORCPT ); Thu, 19 Nov 2015 15:33:37 -0500 X-Greylist: delayed 474 seconds by postgrey-1.27 at vger.kernel.org; Thu, 19 Nov 2015 15:33:36 EST Date: Thu, 19 Nov 2015 22:25:37 +0200 From: Stefan Kristiansson To: Geert Uytterhoeven Cc: "devicetree@vger.kernel.org" , Michael Turquette , Stephen Boyd , Pantelis Antoniou , linux-clk , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] clk: add generic driver for fixed rate clock Message-ID: <20151119202536.GA9332@chokladfabriken.org> References: <1378010420-20031-1-git-send-email-stefan.kristiansson@saunalahti.fi> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 953 Lines: 23 On Tue, Nov 17, 2015 at 04:46:29PM +0100, Geert Uytterhoeven wrote: > Thanks, this is still very useful! > > I stumbled across this old patch while trying to instantiate a fixed rate > clock from a DT overlay. > Without this, the clock is never instantiated, as drivers/clk/clk-fixed-rate.c > uses CLK_OF_DECLARE() :-( With your driver, it works as expected > (after fixing the modpost complaint, cfr. below). > Ah, I'm glad that this old thing was of use to someone else than me ;) > However, I think that instead of creating a new driver, you should just add > the meat of clk-generic-fixed.c to clk-fixed-rate.c. Sure, that sounds reasonable, I'll take a second bat at this patch and do that. Stefan -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/