summaryrefslogtreecommitdiff
path: root/drivers/mfd/si476x-i2c.c
diff options
context:
space:
mode:
authorShengjiu Wang <shengjiu.wang@freescale.com>2014-10-13 11:10:27 +0800
committerOctavian Purdila <octavian.purdila@nxp.com>2017-02-23 14:21:42 +0200
commit0b928a3fcaee86b6e0973eb37a196db638e79f4e (patch)
tree8aa94ed4f85bac924aa971842192e0bce28cabad /drivers/mfd/si476x-i2c.c
parent8f3d8b892d9c0e5a2168b198f0ef3ea6d1922361 (diff)
MLK-9684-1: mfd: si476x-i2c: add of_compatible for si476x-codec
Add of_compatible for si476x-codec, then si476x-codec driver will have codec_of_node, So machine driver can use the codec_of_node. Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com> (cherry picked from commit e2ec44f91a21b127e155e8317d06e8ead7fd2678) (cherry picked from commit ac6decaf5414e784ae81a524edc2f32060061b59)
Diffstat (limited to 'drivers/mfd/si476x-i2c.c')
-rw-r--r--drivers/mfd/si476x-i2c.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/si476x-i2c.c b/drivers/mfd/si476x-i2c.c
index 246dcd2787df..d1c7b3c3e8ba 100644
--- a/drivers/mfd/si476x-i2c.c
+++ b/drivers/mfd/si476x-i2c.c
@@ -832,6 +832,7 @@ static int si476x_core_probe(struct i2c_client *client,
core->pinmux.xout == SI476X_XOUT_TRISTATE) {
cell = &core->cells[SI476X_CODEC_CELL];
cell->name = "si476x-codec";
+ cell->of_compatible = "si476x-codec";
cell_num++;
}
#endif