Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754222AbbFLI6G (ORCPT ); Fri, 12 Jun 2015 04:58:06 -0400 Received: from lb3-smtp-cloud2.xs4all.net ([194.109.24.29]:34429 "EHLO lb3-smtp-cloud2.xs4all.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752868AbbFLI5r (ORCPT ); Fri, 12 Jun 2015 04:57:47 -0400 Message-ID: <1434099462.2271.149.camel@x220> Subject: Re: [PATCH v2] powerpc/rcpm: add RCPM driver From: Paul Bolle To: Yuantian.Tang@freescale.com Cc: b07421@freescale.com, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Chenhui Zhao Date: Fri, 12 Jun 2015 10:57:42 +0200 In-Reply-To: <1434004357-2294-1-git-send-email-Yuantian.Tang@freescale.com> References: <1434004357-2294-1-git-send-email-Yuantian.Tang@freescale.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4 (3.10.4-4.fc20) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 779 Lines: 29 Just a nit. On Thu, 2015-06-11 at 14:32 +0800, Yuantian.Tang@freescale.com wrote: > --- /dev/null > +++ b/arch/powerpc/sysdev/fsl_rcpm.c > +int fsl_rcpm_init(void) This is used only through early_initcall(). I took the cargo cult approach of looking at the other uses of early_initcall() in arch/powerpc/. That approach tells me this function could be static and marked as __init. Would that work here too? > +{ > + [...] > +} > + > +/* need to call this before SMP init */ > +early_initcall(fsl_rcpm_init); Thanks, Paul Bolle -- 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/