diff mbox

[5/5] mfd: ab8500-core: Add of_compatible property for ab8500-codec

Message ID 1369920465-13905-6-git-send-email-fabio.baltieri@linaro.org
State Accepted
Commit fccf14ad1e4f09a4033908ead9bf3f393979d54b
Headers show

Commit Message

Fabio Baltieri May 30, 2013, 1:27 p.m. UTC
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>
---
 drivers/mfd/ab8500-core.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

diff --git a/drivers/mfd/ab8500-core.c b/drivers/mfd/ab8500-core.c
index 1863985..3efb356 100644
--- a/drivers/mfd/ab8500-core.c
+++ b/drivers/mfd/ab8500-core.c
@@ -1120,6 +1120,7 @@  static struct mfd_cell ab8500_devs[] = {
 	},
 	{
 		.name = "ab8500-codec",
+		.of_compatible = "stericsson,ab8500-codec",
 	},
 };