Re: [PATCH 3/3] pwm: lpc32xx - Set the chip base for dynamic allocation

From: Alexandre Pereira da Silva
Date: Fri Nov 23 2012 - 04:34:59 EST


On Wed, Nov 14, 2012 at 9:58 AM, Alban Bedel
<alban.bedel@xxxxxxxxxxxxxxxxx> wrote:
> Signed-off-by: Alban Bedel <alban.bedel@xxxxxxxxxxxxxxxxx>

Acked-by: Alexandre Pereira da Silva <aletes.xgr@xxxxxxxxx>

> ---
> drivers/pwm/pwm-lpc32xx.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/pwm/pwm-lpc32xx.c b/drivers/pwm/pwm-lpc32xx.c
> index f45ce2c..3e63689 100644
> --- a/drivers/pwm/pwm-lpc32xx.c
> +++ b/drivers/pwm/pwm-lpc32xx.c
> @@ -121,6 +121,7 @@ static int lpc32xx_pwm_probe(struct platform_device *pdev)
> lpc32xx->chip.dev = &pdev->dev;
> lpc32xx->chip.ops = &lpc32xx_pwm_ops;
> lpc32xx->chip.npwm = 2;
> + lpc32xx->chip.base = -1;
>
> ret = pwmchip_add(&lpc32xx->chip);
> if (ret < 0) {
> --
> 1.7.0.4
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/