diff options
author | Olof Johansson <olof@lixom.net> | 2008-01-27 18:14:44 +0100 |
---|---|---|
committer | Jean Delvare <khali@hyperion.delvare> | 2008-01-27 18:14:44 +0100 |
commit | ccf60d8571f0e606b5dacf213696b7a57fe2d890 (patch) | |
tree | 7168f0fe28eeb419af4ca5445d7865240d0260c6 /drivers/char/vme_scc.c | |
parent | 541b6a7a69fadda82f313bd2176e7756db2b5b43 (diff) |
i2c-pasemi: use i2c_add_numbered_adapter()
Use numbered adapter registration to always have the same hardware bus
show up at the same number.
PWRficient 1682M has three buses, they are all on the same PCI device but
different functions. So do the simple thing and register them based on
function number. Future products, if having a different number of busses,
are expected to have similar behaviour w.r.t. device/function layout.
Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'drivers/char/vme_scc.c')
0 files changed, 0 insertions, 0 deletions