diff options
-rw-r--r-- | drivers/pwm/Kconfig | 1 | ||||
-rw-r--r-- | drivers/pwm/pwm-mxs.c | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig index 39bdebc0cb20..5227415f1855 100644 --- a/drivers/pwm/Kconfig +++ b/drivers/pwm/Kconfig | |||
@@ -30,6 +30,7 @@ config PWM_IMX | |||
30 | config PWM_MXS | 30 | config PWM_MXS |
31 | tristate "Freescale MXS PWM support" | 31 | tristate "Freescale MXS PWM support" |
32 | depends on ARCH_MXS && OF | 32 | depends on ARCH_MXS && OF |
33 | select STMP_DEVICE | ||
33 | help | 34 | help |
34 | Generic PWM framework driver for Freescale MXS. | 35 | Generic PWM framework driver for Freescale MXS. |
35 | 36 | ||
diff --git a/drivers/pwm/pwm-mxs.c b/drivers/pwm/pwm-mxs.c index d9a38050a502..23e524bbee03 100644 --- a/drivers/pwm/pwm-mxs.c +++ b/drivers/pwm/pwm-mxs.c | |||
@@ -19,7 +19,7 @@ | |||
19 | #include <linux/platform_device.h> | 19 | #include <linux/platform_device.h> |
20 | #include <linux/pwm.h> | 20 | #include <linux/pwm.h> |
21 | #include <linux/slab.h> | 21 | #include <linux/slab.h> |
22 | #include <mach/common.h> | 22 | #include <linux/stmp_device.h> |
23 | 23 | ||
24 | #define SET 0x4 | 24 | #define SET 0x4 |
25 | #define CLR 0x8 | 25 | #define CLR 0x8 |
@@ -163,7 +163,7 @@ static int mxs_pwm_probe(struct platform_device *pdev) | |||
163 | mxs->dev = &pdev->dev; | 163 | mxs->dev = &pdev->dev; |
164 | platform_set_drvdata(pdev, mxs); | 164 | platform_set_drvdata(pdev, mxs); |
165 | 165 | ||
166 | mxs_reset_block(mxs->base); | 166 | stmp_reset_block(mxs->base); |
167 | 167 | ||
168 | return 0; | 168 | return 0; |
169 | 169 | ||