diff options
author | Lee Jones <lee.jones@linaro.org> | 2012-06-29 09:41:38 -0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-07-08 18:16:08 -0400 |
commit | 3c1447620401294b81e34bec7195f803c749bb91 (patch) | |
tree | 2609eb9db7d74d63af1081a6c2875547c8fee2c0 /drivers/mfd/db8500-prcmu.c | |
parent | e2186b531fd33c2d3450e143c2c8d8387fccb15d (diff) |
mfd: Enable DT probing of the DB8500 PRCMU
This patch adds the correct compatible string for use during Device Tree
population. Without it the DB8500 PRCMU will not be probed.
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/db8500-prcmu.c')
-rw-r--r-- | drivers/mfd/db8500-prcmu.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/mfd/db8500-prcmu.c b/drivers/mfd/db8500-prcmu.c index 50e83dc5dc49..40204e1dbd29 100644 --- a/drivers/mfd/db8500-prcmu.c +++ b/drivers/mfd/db8500-prcmu.c | |||
@@ -3004,11 +3004,16 @@ static int __devinit db8500_prcmu_probe(struct platform_device *pdev) | |||
3004 | no_irq_return: | 3004 | no_irq_return: |
3005 | return err; | 3005 | return err; |
3006 | } | 3006 | } |
3007 | static const struct of_device_id db8500_prcmu_match[] = { | ||
3008 | { .compatible = "stericsson,db8500-prcmu"}, | ||
3009 | { }, | ||
3010 | }; | ||
3007 | 3011 | ||
3008 | static struct platform_driver db8500_prcmu_driver = { | 3012 | static struct platform_driver db8500_prcmu_driver = { |
3009 | .driver = { | 3013 | .driver = { |
3010 | .name = "db8500-prcmu", | 3014 | .name = "db8500-prcmu", |
3011 | .owner = THIS_MODULE, | 3015 | .owner = THIS_MODULE, |
3016 | .of_match_table = db8500_prcmu_match, | ||
3012 | }, | 3017 | }, |
3013 | .probe = db8500_prcmu_probe, | 3018 | .probe = db8500_prcmu_probe, |
3014 | }; | 3019 | }; |