[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1352894295-14339-4-git-send-email-alban.bedel@avionic-design.de>
Date: Wed, 14 Nov 2012 12:58:15 +0100
From: Alban Bedel <alban.bedel@...onic-design.de>
To: Thierry Reding <thierry.reding@...onic-design.de>
Cc: linux-kernel@...r.kernel.org, Roland Stigge <stigge@...com.de>,
Alexandre Pereira da Silva <aletes.xgr@...il.com>,
Alban Bedel <alban.bedel@...onic-design.de>
Subject: [PATCH 3/3] pwm: lpc32xx - Set the chip base for dynamic allocation
Signed-off-by: Alban Bedel <alban.bedel@...onic-design.de>
---
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists