diff options
author | Jonathan Corbet <corbet@lwn.net> | 2010-04-25 08:30:41 -0600 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2010-04-27 13:01:45 -0600 |
commit | 4da62e6c6e056d709e5dc04ac7c5e81692cf924f (patch) | |
tree | 915fc051ab8ff1efdaf5b4ca03f5354a478d798b /drivers/video/via/via_i2c.h | |
parent | c774c13dd2826eb91ab6396fd8501df2fc2d83b3 (diff) | |
download | lwn-4da62e6c6e056d709e5dc04ac7c5e81692cf924f.tar.gz lwn-4da62e6c6e056d709e5dc04ac7c5e81692cf924f.zip |
viafb: Only establish i2c busses on ports that always had them
...otherwise it seems we run into conflicts with shadowy other users which
don't expect to see i2c taking control of ports it never used to do
anything with.
Reported-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'drivers/video/via/via_i2c.h')
-rw-r--r-- | drivers/video/via/via_i2c.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/via/via_i2c.h b/drivers/video/via/via_i2c.h index 00ed97886842..73d682fcf269 100644 --- a/drivers/video/via/via_i2c.h +++ b/drivers/video/via/via_i2c.h @@ -35,6 +35,7 @@ struct via_i2c_adap_cfg { enum via_i2c_type type; u_int16_t io_port; u_int8_t ioport_index; + u8 is_active; }; struct via_i2c_stuff { |