summaryrefslogtreecommitdiff
path: root/drivers/mfd/ab8500-core.c
diff options
context:
space:
mode:
authorFabio Baltieri <fabio.baltieri@linaro.org>2013-05-30 15:27:45 +0200
committerLee Jones <lee.jones@linaro.org>2013-06-13 10:51:54 +0100
commitfccf14ad1e4f09a4033908ead9bf3f393979d54b (patch)
tree815aa248717df25ac6f5fe01d54efe283ddfdb41 /drivers/mfd/ab8500-core.c
parent9c717cf3fa16f8ae8c6ccb8f4f8e784404ac9689 (diff)
mfd: ab8500-core: Add of_compatible property for ab8500-codec
Add of_compatible string to the ab8500-codec cell to allow the driver to grab handlers such as regulators from device-tree when available. Signed-off-by: Fabio Baltieri <fabio.baltieri@linaro.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/ab8500-core.c')
-rw-r--r--drivers/mfd/ab8500-core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/ab8500-core.c b/drivers/mfd/ab8500-core.c
index 02698da00b78..ca6bd1c8bd3f 100644
--- a/drivers/mfd/ab8500-core.c
+++ b/drivers/mfd/ab8500-core.c
@@ -1135,6 +1135,7 @@ static struct mfd_cell ab8500_devs[] = {
},
{
.name = "ab8500-codec",
+ .of_compatible = "stericsson,ab8500-codec",
},
};