[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140807142344.GA11095@ulmo.nvidia.com>
Date: Thu, 7 Aug 2014 16:23:46 +0200
From: Thierry Reding <thierry.reding@...il.com>
To: Lee Jones <lee.jones@...aro.org>
Cc: linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
kernel@...inux.com, linux-pwm@...r.kernel.org,
devicetree@...r.kernel.org, ajitpal.singh@...com
Subject: Re: [PATCH v2 06/11] pwm: sti: Add new driver for ST's PWM IP
On Mon, Jul 14, 2014 at 03:33:27PM +0100, Lee Jones wrote:
[...]
> +static int sti_pwm_probe(struct platform_device *pdev)
> +{
[...]
> + pc->clk = of_clk_get_by_name(np, "pwm");
This didn't compile because the np variable isn't declared. It was easy
to fix up, so I did, but please be more careful next time that the
patches you submit at least compile (preferably without sparse warnings
of which I also fixed up a couple).
Thierry
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists