diff options
author | Timur Tabi <timur@freescale.com> | 2008-06-02 15:09:35 -0500 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2008-06-02 23:57:07 -0500 |
commit | e026892c85571e12f11abffde5a90bcc704d663e (patch) | |
tree | 14c70174ef2d2c9ef8f57a84be0d9b7d54521f32 /drivers/char/ip2/fip_firm.h | |
parent | fca622c5b21a259950a2964ceca7b6c2a23c849f (diff) | |
download | kernel_samsung_espresso10-e026892c85571e12f11abffde5a90bcc704d663e.zip kernel_samsung_espresso10-e026892c85571e12f11abffde5a90bcc704d663e.tar.gz kernel_samsung_espresso10-e026892c85571e12f11abffde5a90bcc704d663e.tar.bz2 |
[POWERPC] fsl: Update fsl_soc to use cell-index property of I2C nodes
Currently, fsl_i2c_of_init() uses the order of the I2C adapter nodes in the
device tree to enumerate the I2C adapters. Instead, let's check for the
cell-index property and use it if it exists.
This is handy for device drivers that need to identify the I2C adapters by
specific numbers. The Freescale MPC8610 ASoC V2 sound drivers are an example.
Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'drivers/char/ip2/fip_firm.h')
0 files changed, 0 insertions, 0 deletions