Browse Source

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>
Fabio Baltieri 12 years ago
parent
commit
fccf14ad1e
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/mfd/ab8500-core.c

+ 1 - 0
drivers/mfd/ab8500-core.c

@@ -1135,6 +1135,7 @@ static struct mfd_cell ab8500_devs[] = {
 	},
 	{
 		.name = "ab8500-codec",
+		.of_compatible = "stericsson,ab8500-codec",
 	},
 };