diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2012-06-26 12:58:08 +0400 |
---|---|---|
committer | Thierry Reding <thierry.reding@avionic-design.de> | 2012-07-23 15:23:53 +0400 |
commit | 071407eefd708d7e273b67af150f8dff6c51eb58 (patch) | |
tree | 8ce88fd8a1c0d456d9a9c0b5e027886047e325c9 /drivers | |
parent | 200efedd87662e3510b2e9ac8b56c8a32baf3e12 (diff) | |
download | linux-071407eefd708d7e273b67af150f8dff6c51eb58.tar.xz |
pwm: pwm-mxs: encode soc name in compatible string
Encode soc name in the compatible string to know the specific version
hardware block. This is the general approach adopted for most bindings.
Change mxs-pwm binding to use the approach.
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/pwm/pwm-mxs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pwm/pwm-mxs.c b/drivers/pwm/pwm-mxs.c index 9602708372b8..d9a38050a502 100644 --- a/drivers/pwm/pwm-mxs.c +++ b/drivers/pwm/pwm-mxs.c @@ -186,7 +186,7 @@ static int __devexit mxs_pwm_remove(struct platform_device *pdev) } static struct of_device_id mxs_pwm_dt_ids[] = { - { .compatible = "fsl,mxs-pwm", }, + { .compatible = "fsl,imx23-pwm", }, { /* sentinel */ } }; MODULE_DEVICE_TABLE(of, mxs_pwm_dt_ids); |