diff options
author | Andrew Armenia <[email protected]> | 2012-07-24 14:13:56 +0200 |
---|---|---|
committer | Jean Delvare <[email protected]> | 2012-07-24 14:13:56 +0200 |
commit | e154bf6fbfc167426ee938111a5ffa36bd8541a1 (patch) | |
tree | 0526266126b19aead836d4dc8897893fc3ba7a49 /tools/perf/util/trace-event-scripting.c | |
parent | 14a8086d27ad9761d505489d5a239f21cd67ef0f (diff) |
i2c-piix4: Separate registration and probing code
Some chipsets have multiple sets of SMBus registers each controlling a
separate SMBus. Supporting these chipsets properly will require registering
multiple I2C adapters for one piix4.
The code to initialize and register the i2c_adapter structure has been
separated from piix4_probe and allows registration of a piix4 adapter
given its base address. Note that the i2c_adapter and i2c_piix4_adapdata
structures are now dynamically allocated.
Signed-off-by: Andrew Armenia <[email protected]>
Signed-off-by: Jean Delvare <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions