diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2011-06-27 12:49:07 -0600 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2011-07-21 15:41:42 -0600 |
commit | 989312782ec1507959b94b2f3f6c1138d138e34a (patch) | |
tree | bdd5de62b4930c6cbdffa3de74d670c6f97fd54c /Documentation | |
parent | 2128742129b86c5c2e13cfea29bbab7018075c09 (diff) |
i2c: Allow i2c_add_numbered_adapter() to assign a bus id.
Currently, if an i2c bus driver supports both static and dynamic bus
ids, it needs to choose between calling i2c_add_numbered_adapter() and
i2c_add_adapter(). This patch makes i2c_add_numbered_adapter()
redirect to i2c_add_adapter() if the requested bus id is -1.
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions