From: Benson Leung Date: Thu, 21 Feb 2013 20:14:55 +0000 (-0800) Subject: Platform: x86: chromeos_laptop - add i915 gmbuses to adapter names X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=741bf0c7be835d7fdecac5d942e88b5d43958f40;p=openwrt%2Fstaging%2Fblogic.git Platform: x86: chromeos_laptop - add i915 gmbuses to adapter names 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 Signed-off-by: Matthew Garrett --- diff --git a/drivers/platform/x86/chromeos_laptop.c b/drivers/platform/x86/chromeos_laptop.c index 04a11cca399d..93d66809355a 100644 --- a/drivers/platform/x86/chromeos_laptop.c +++ b/drivers/platform/x86/chromeos_laptop.c @@ -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 = {