Platform: x86: chromeos_laptop - add i915 gmbuses to adapter names
authorBenson Leung <bleung@chromium.org>
Thu, 21 Feb 2013 20:14:55 +0000 (12:14 -0800)
committerMatthew Garrett <matthew.garrett@nebula.com>
Wed, 27 Feb 2013 13:30:46 +0000 (08:30 -0500)
Add the two other i2c buses (vga and panel) from i915.
Chromebook Pixel has input and light sensor devices on these busses.

Signed-off-by: Benson Leung <bleung@chromium.org>
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
drivers/platform/x86/chromeos_laptop.c

index 04a11cca399ddad0ce0a3e2f03f56461a2535926..93d66809355a203e97b0e4229f5dc2ac932d2e54 100644 (file)
@@ -39,11 +39,15 @@ static struct i2c_client *ts;
 
 const char *i2c_adapter_names[] = {
        "SMBus I801 adapter",
+       "i915 gmbus vga",
+       "i915 gmbus panel",
 };
 
 /* Keep this enum consistent with i2c_adapter_names */
 enum i2c_adapter_type {
        I2C_ADAPTER_SMBUS = 0,
+       I2C_ADAPTER_VGADDC,
+       I2C_ADAPTER_PANEL,
 };
 
 static struct i2c_board_info __initdata cyapa_device = {