I tried doing a Make on the linux driver module, linux-2.6.38+mpss3.4.2, and I get an error message, that intel_i2c.c, does not compile:
/home/aweiss/mpss/mpss-3.4.2/build/linux-2.6.38+mpss3.4.2/drivers/gpu/drm/i915/intel_i2c.c:269:2: error: ‘dev_priv’ undeclared (first use in this function)
dummy_read_dbox_regs()
{
I915_GMBUS_READ(DBOX_ADAK_CTRL_REG);
I915_GMBUS_READ(DBOX_SW_FLAG_REG);
}
For some reason, this expects dev_priv, and the structure that contains dev_priv is not accessible by the function. I looked in intel_i2c.h, it appears that CONFIG_X86_EARLYMIC is set to Y in the config-mic-knc-2.6.38 file is set to Y. This is the wrong configuration version number, how to I generate the correct version?