diff options
author | Jon Smirl <jonsmirl@gmail.com> | 2009-01-09 22:49:06 (GMT) |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2009-01-09 22:49:06 (GMT) |
commit | 2526c151c31358aec66b63921dd712bbec5ee0cb (patch) | |
tree | ee1cd5878c6970d469e348f2440c5d0074def379 /kernel/semaphore.c | |
parent | f5020384e4fa8ab9397aa6fa176e61e9bf7947f7 (diff) | |
download | linux-2526c151c31358aec66b63921dd712bbec5ee0cb.tar.xz |
drivers/of: Add the of_find_i2c_device_by_node function.
The of_find_i2c_device_by_node function allows you to follow a
reference in the device tree to an i2c device node and then locate
the linux device instantiated by the device tree. Example use: an I2S
bus driver finding the i2c_device instance for a codec described by
a device tree node.
This was waiting for Anton's i2c patches that were just added.
Signed-off-by: Jon Smirl <jonsmirl@gmail.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'kernel/semaphore.c')
0 files changed, 0 insertions, 0 deletions