commit | 14a8086d27ad9761d505489d5a239f21cd67ef0f | [log] [tgz] |
---|---|---|
author | Andrew Armenia <andrew@asquaredlabs.com> | Tue Jul 24 14:13:56 2012 +0200 |
committer | Jean Delvare <khali@endymion.delvare> | Tue Jul 24 14:13:56 2012 +0200 |
tree | 350095694b4447e35bf5d8da8c571922301bfde1 | |
parent | 56f2178898ffca84dcdfb351f0127bf5732b1610 [diff] |
i2c-piix4: Eliminate piix4_smba global variable Some chipsets have multiple sets of piix4-compatible SMBus registers. Eliminating the global variable will allow these chipsets to be fully supported. Return value from piix4_setup and piix4_sb800_setup now returns the smba value detected. This is stored in a struct i2c_piix4_adapdata. Thus the global variable is eliminated. Signed-off-by: Andrew Armenia <andrew@asquaredlabs.com> Signed-off-by: Jean Delvare <khali@linux-fr.org>