Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933234AbbD1KDy (ORCPT ); Tue, 28 Apr 2015 06:03:54 -0400 Received: from mail-oi0-f47.google.com ([209.85.218.47]:36514 "EHLO mail-oi0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933000AbbD1KDx (ORCPT ); Tue, 28 Apr 2015 06:03:53 -0400 MIME-Version: 1.0 In-Reply-To: <87bni8vb9i.wl-ysato@users.sourceforge.jp> References: <1430112924-1134-1-git-send-email-ysato@users.sourceforge.jp> <1430112924-1134-12-git-send-email-ysato@users.sourceforge.jp> <2321574.fdIMjhZdv2@wuerfel> <87bni8vb9i.wl-ysato@users.sourceforge.jp> Date: Tue, 28 Apr 2015 12:03:52 +0200 X-Google-Sender-Auth: YG5qRYfP1CuY2syo1bemn2liAn0 Message-ID: Subject: Re: [PATCH v9 11/17] h8300: clock driver From: Geert Uytterhoeven To: Yoshinori Sato Cc: Arnd Bergmann , "linux-kernel@vger.kernel.org" , Linux-Arch Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1095 Lines: 34 Hi Sato-san, On Tue, Apr 28, 2015 at 11:43 AM, Yoshinori Sato wrote: >> Clock drivers are generally not 'platform_drivers'. Please do one of two >> things: >> >> a) use CLK_OF_DECLARE() to register a probe function, and use a device >> tree for describing your hardware >> >> b) rename clk_probe() to h8300_clk_init() and just call that function >> from the architecture code. >> > > OK. > I'll think of "a". Which is not an option if you want to postpone DT support... Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds -- 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/