diff options
author | Shengjiu Wang <shengjiu.wang@freescale.com> | 2014-10-13 11:10:27 +0800 |
---|---|---|
committer | Nitin Garg <nitin.garg@freescale.com> | 2015-04-14 14:01:03 -0500 |
commit | ac6decaf5414e784ae81a524edc2f32060061b59 (patch) | |
tree | 7444a4fd342d9bef45c1ffa2de9f052d677afee1 | |
parent | 1771bb301416f2d931dc6e3eb9a33d3744d8c3a3 (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)
-rw-r--r-- | drivers/mfd/si476x-i2c.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/si476x-i2c.c b/drivers/mfd/si476x-i2c.c index d32e25c2128d..b971906120a8 100644 --- a/drivers/mfd/si476x-i2c.c +++ b/drivers/mfd/si476x-i2c.c @@ -831,6 +831,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 |