[Sony Xperia S, Acro S, Ion] bippi79:
We are building AvatarROM for Sony Xperia S (nozomi) and we are facing some compilation issues in kernel. Can someone please help.

It is a CM10.1 based ROM.

In file included from /build/jenkins/NT_build_JB42_external/jellybean42/kernel/sony/msm8x60/arch/arm/mach-msm/board-semc_fuji.c:21:

/build/jenkins/NT_build_JB42_external/jellybean42/kernel/sony/msm8x60/include/linux/regulator/gpio-regulator.h:83: error: field 'type' has incomplete type

/build/jenkins/NT_build_JB42_external/jellybean42/kernel/sony/msm8x60/arch/arm/mach-msm/board-semc_fuji.c:4065: error: 'msm_rpm_device' undeclared here (not in a function)

/build/jenkins/NT_build_JB42_external/jellybean42/kernel/sony/msm8x60/arch/arm/mach-msm/board-semc_fuji.c:5372: error: array type has incomplete element type

/build/jenkins/NT_build_JB42_external/jellybean42/kernel/sony/msm8x60/arch/arm/mach-msm/board-semc_fuji.c:5373: error: array index in non-array initializer

/build/jenkins/NT_build_JB42_external/jellybean42/kernel/sony/msm8x60/arch/arm/mach-msm/board-semc_fuji.c:5373: error: (near initialization for 'msm_gpio_regulator_pdata')

/build/jenkins/NT_build_JB42_external/jellybean42/kernel/sony/msm8x60/arch/arm/mach-msm/board-semc_fuji.c:5373: error: field name not in record or union initializer

/build/jenkins/NT_build_JB42_external/jellybean42/kernel/sony/msm8x60/arch/arm/mach-msm/board-semc_fuji.c:5373: error: (near initialization for 'msm_gpio_regulator_pdata')

/build/jenkins/NT_build_JB42_external/jellybean42/kernel/sony/msm8x60/arch/arm/mach-msm/board-semc_fuji.c:5373: error: field name not in record or union initializer

/build/jenkins/NT_build_JB42_external/jellybean42/kernel/sony/msm8x60/arch/arm/mach-msm/board-semc_fuji.c:5373: error: (near initialization for 'msm_gpio_regulator_pdata')

/build/jenkins/NT_build_JB42_external/jellybean42/kernel/sony/msm8x60/arch/arm/mach-msm/board-semc_fuji.c:5373: error: field name not in record or union initializer

/build/jenkins/NT_build_JB42_external/jellybean42/kernel/sony/msm8x60/arch/arm/mach-msm/board-semc_fuji.c:5373: error: (near initialization for 'msm_gpio_regulator_pdata')

/build/jenkins/NT_build_JB42_external/jellybean42/kernel/sony/msm8x60/arch/arm/mach-msm/board-semc_fuji.c:5373: error: field name not in record or union initializer

/build/jenkins/NT_build_JB42_external/jellybean42/kernel/sony/msm8x60/arch/arm/mach-msm/board-semc_fuji.c:5373: error: (near initialization for 'msm_gpio_regulator_pdata')

/build/jenkins/NT_build_JB42_external/jellybean42/kernel/sony/msm8x60/arch/arm/mach-msm/board-semc_fuji.c:5374: error: field name not in record or union initializer

/build/jenkins/NT_build_JB42_external/jellybean42/kernel/sony/msm8x60/arch/arm/mach-msm/board-semc_fuji.c:5374: error: (near initialization for 'msm_gpio_regulator_pdata')

/build/jenkins/NT_build_JB42_external/jellybean42/kernel/sony/msm8x60/arch/arm/mach-msm/board-semc_fuji.c:5374: error: field name not in record or union initializer

/build/jenkins/NT_build_JB42_external/jellybean42/kernel/sony/msm8x60/arch/arm/mach-msm/board-semc_fuji.c:5374: error: (near initialization for 'msm_gpio_regulator_pdata')

/build/jenkins/NT_build_JB42_external/jellybean42/kernel/sony/msm8x60/arch/arm/mach-msm/board-semc_fuji.c:5374: error: field name not in record or union initializer

/build/jenkins/NT_build_JB42_external/jellybean42/kernel/sony/msm8x60/arch/arm/mach-msm/board-semc_fuji.c:5374: error: (near initialization for 'msm_gpio_regulator_pdata')

/build/jenkins/NT_build_JB42_external/jellybean42/kernel/sony/msm8x60/arch/arm/mach-msm/board-semc_fuji.c:5374: error: field name not in record or union initializer

/build/jenkins/NT_build_JB42_external/jellybean42/kernel/sony/msm8x60/arch/arm/mach-msm/board-semc_fuji.c:5374: error: (near initialization for 'msm_gpio_regulator_pdata')

/build/jenkins/NT_build_JB42_external/jellybean42/kernel/sony/msm8x60/arch/arm/mach-msm/board-semc_fuji.c:5374: error: field name not in record or union initializer

/build/jenkins/NT_build_JB42_external/jellybean42/kernel/sony/msm8x60/arch/arm/mach-msm/board-semc_fuji.c:5374: error: (near initialization for 'msm_gpio_regulator_pdata')

/build/jenkins/NT_build_JB42_external/jellybean42/kernel/sony/msm8x60/arch/arm/mach-msm/board-semc_fuji.c:5379: error: 'GPIO_REGULATOR_DEV_NAME' undeclared here (not in a function)

/build/jenkins/NT_build_JB42_external/jellybean42/kernel/sony/msm8x60/arch/arm/mach-msm/board-semc_fuji.c:5379: error: initializer element is not constant

/build/jenkins/NT_build_JB42_external/jellybean42/kernel/sony/msm8x60/arch/arm/mach-msm/board-semc_fuji.c:5379: error: (near initialization for 'msm8x60_8901_mpp_vreg.name')

/build/jenkins/NT_build_JB42_external/jellybean42/kernel/sony/msm8x60/arch/arm/mach-msm/board-semc_fuji.c:5383: error: initializer element is not constant

/build/jenkins/NT_build_JB42_external/jellybean42/kernel/sony/msm8x60/arch/arm/mach-msm/board-semc_fuji.c:5383: error: (near initialization for 'msm8x60_8901_mpp_vreg.dev.platform_data')

/build/jenkins/NT_build_JB42_external/jellybean42/kernel/sony/msm8x60/arch/arm/mach-msm/board-semc_fuji.c: In function 'msm8x60_pm8901_dVdd_init':

/build/jenkins/NT_build_JB42_external/jellybean42/kernel/sony/msm8x60/arch/arm/mach-msm/board-semc_fuji.c:5413: error: 'struct pm8901_platform_data' has no member named 'pm_dVdd_unstable'

/build/jenkins/NT_build_JB42_external/jellybean42/kernel/sony/msm8x60/arch/arm/mach-msm/board-semc_fuji.c:5413: warning: statement with no effect

error, forbidden warning: board-semc_fuji.c:5413