mach-jet.c errors + possible fixes ?

Kernel development related

mach-jet.c errors + possible fixes ?

Postby MadRocker » Fri Feb 18, 2011 4:49 am

experimental-2.6.29-dopi kernel.
Build error:
Code: Select all
arch/arm/mach-s3c6410/mach-jet.c:951:6: warning: "CONFIG_INSTINCTQ_REV" is not defined
arch/arm/mach-s3c6410/mach-jet.c:951:30: warning: "CONFIG_INSTINCTQ_REV00" is not defined
arch/arm/mach-s3c6410/mach-jet.c: In function 'instinctq_machine_init':
arch/arm/mach-s3c6410/mach-jet.c:1172:48: error: 'CONFIG_INSTINCTQ_REV' undeclared (first use in this function)
arch/arm/mach-s3c6410/mach-jet.c:1172:48: note: each undeclared identifier is reported only once for each function it appears in
arch/arm/mach-s3c6410/mach-jet.c: At top level:
arch/arm/mach-s3c6410/mach-jet.c:393:30: warning: 'i2c_devs2' defined but not used
arch/arm/mach-s3c6410/mach-jet.c:398:30: warning: 'i2c_devs3' defined but not used
arch/arm/mach-s3c6410/mach-jet.c:402:30: warning: 'i2c_devs4' defined but not used
arch/arm/mach-s3c6410/mach-jet.c:406:30: warning: 'i2c_devs5' defined but not used
make[1]: *** [arch/arm/mach-s3c6410/mach-jet.o] Error 1
make: *** [arch/arm/mach-s3c6410] Error 2


386 -->
Code: Select all
static struct i2c_board_info i2c_devs0[] __initdata = {
};

//static struct i2c_board_info i2c_devs1[] __initdata = {
//   { I2C_BOARD_INFO("???", 0x00), },   /* Camera */
//};

static struct i2c_board_info i2c_devs2[] __initdata = {
//   { I2C_BOARD_INFO("KXSD9", 0x18), },      /* accelerator */
//   { I2C_BOARD_INFO("Si4709", 0x10), },     /* FM radio*/
};

static struct i2c_board_info i2c_devs3[] __initdata = {
//   { I2C_BOARD_INFO("max8906", 0x), },     /* Max8698 PMIC */
};

static struct i2c_board_info i2c_devs4[] __initdata = {
//   { I2C_BOARD_INFO("fsa9480", 0x25), },      /* uUSB ic */
};

static struct i2c_board_info i2c_devs5[] __initdata = {
};
--> 407

arm-linux-2.6.32.28/arch/arm/mach-s3c6410/mach-instinctq.c
Code: Select all
static struct i2c_board_info i2c_devs0[] __initdata = {
   {
      I2C_BOARD_INFO("melfas_ts_i2c", (MELFAS_I2C_ADDR >> 1)),
      .irq = IRQ_TOUCH_INT,
   },
};

static struct i2c_board_info i2c_devs1[] __initdata = {
#if defined (CONFIG_MACH_VITAL)
   {
      I2C_BOARD_INFO("s5k5ca", (S5K5CA_ID >> 1)),
   },
   {
      I2C_BOARD_INFO("s5ka3d", (S5KA3D_ID >> 1)),
   },
#else
   {
      I2C_BOARD_INFO("s5k4ca", (S5K4CA_ID >> 1)),
   },
#endif
};

static struct i2c_board_info i2c_devs2[] __initdata = {
   {
      I2C_BOARD_INFO("MAX9877 I2C (AMP)", (MAX9877_ADDRESS >> 1)),
   },
   {
      I2C_BOARD_INFO("AK4671 I2C Codec", (0x24 >> 1)),
   },
};

static struct i2c_board_info i2c_devs3[] __initdata = {
   {
      I2C_BOARD_INFO("max8698", (0xcc >> 1)),
   },
};


In arm-linux-2.6.32.28
Device 0 = touchscreen
Device 1 = camera
Device 2 = audio amp and audio
Device 3 = I2C PMIC max8698

Still working on the devices to get working options. If anyone has fixed this already please shout.
MadRocker
Dev Team
Dev Team
 
Posts: 528
Joined: Sun Dec 12, 2010 7:15 am

Advertisement

       

Return to JetKernel

Who is online

Users browsing this forum: No registered users and 0 guests

  • Advertisement
cron