[PATCH 2/4] pwm: pwm-mxs: use global reset function stmp_reset_block
Shawn Guo
shawn.guo at linaro.org
Tue Jun 26 04:58:09 EDT 2012
Use global reset function stmp_reset_block instead of mxs_reset_block
to remove <mach/common.h> inclusion.
Signed-off-by: Shawn Guo <shawn.guo at linaro.org>
---
drivers/pwm/pwm-mxs.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/pwm/pwm-mxs.c b/drivers/pwm/pwm-mxs.c
index 7af3a6a..7a97997 100644
--- a/drivers/pwm/pwm-mxs.c
+++ b/drivers/pwm/pwm-mxs.c
@@ -19,7 +19,7 @@
#include <linux/platform_device.h>
#include <linux/pwm.h>
#include <linux/slab.h>
-#include <mach/common.h>
+#include <linux/stmp_device.h>
#define SET 0x4
#define CLR 0x8
@@ -163,7 +163,7 @@ static int mxs_pwm_probe(struct platform_device *pdev)
mxs->dev = &pdev->dev;
platform_set_drvdata(pdev, mxs);
- mxs_reset_block(mxs->base);
+ stmp_reset_block(mxs->base);
return 0;
--
1.7.5.4
More information about the linux-arm-kernel
mailing list