[Android] kylon:
thanks

the errors are gone but this is the new problem

arch/arm/mach-msm/board-saga.c: In function 'hsusb_rpc_connect':
arch/arm/mach-msm/board-saga.c:3074:3: warning: implicit declaration of function 'msm_hsusb_rpc_connect' [-Wimplicit-function-declaration]
arch/arm/mach-msm/board-saga.c:3076:3: warning: implicit declaration of function 'msm_hsusb_rpc_close' [-Wimplicit-function-declaration]
arch/arm/mach-msm/board-saga.c: At top level:
arch/arm/mach-msm/board-saga.c:3144:2: error: unknown field 'phy_init_seq' specified in initializer
arch/arm/mach-msm/board-saga.c:3144:2: warning: initialization from incompatible pointer type [enabled by default]
arch/arm/mach-msm/board-saga.c:3144:2: warning: (near initialization for 'msm_otg_pdata.rpc_connect') [enabled by default]
arch/arm/mach-msm/board-saga.c:3145:2: error: unknown field 'mode' specified in initializer
arch/arm/mach-msm/board-saga.c:3145:12: error: 'USB_PERIPHERAL' undeclared here (not in a function)
arch/arm/mach-msm/board-saga.c:3146:2: error: unknown field 'otg_control' specified in initializer
arch/arm/mach-msm/board-saga.c:3146:18: error: 'OTG_PMIC_CONTROL' undeclared here (not in a function)
arch/arm/mach-msm/board-saga.c:3147:2: error: unknown field 'power_budget' specified in initializer
arch/arm/mach-msm/board-saga.c:3148:2: error: unknown field 'phy_type' specified in initializer
arch/arm/mach-msm/board-saga.c:3148:15: error: 'CI_45NM_INTEGRATED_PHY' undeclared here (not in a function)
arch/arm/mach-msm/board-saga.c:3757:3: error: 'msm_fb_device' undeclared here (not in a function)
arch/arm/mach-msm/board-saga.c:3834:3: error: 'cable_detect_device' undeclared here (not in a function)
arch/arm/mach-msm/board-saga.c: In function 'saga_init':
arch/arm/mach-msm/board-saga.c:5197:52: error: 'msm_gadget_pdata' undeclared (first use in this function)
arch/arm/mach-msm/board-saga.c:5197:52: note: each undeclared identifier is reported only once for each function it appears in
arch/arm/mach-msm/board-saga.c: In function 'saga_allocate_memory_regions':
arch/arm/mach-msm/board-saga.c:5466:2: error: 'msm_fb_resources' undeclared (first use in this function)
arch/arm/mach-msm/board-saga.c:5466:21: error: request for member 'start' in something not a structure or union
arch/arm/mach-msm/board-saga.c:5466:2: warning: statement with no effect [-Wunused-value]
arch/arm/mach-msm/board-saga.c:5467:21: error: request for member 'end' in something not a structure or union
arch/arm/mach-msm/board-saga.c:5467:47: error: request for member 'start' in something not a structure or union
arch/arm/mach-msm/board-saga.c:5467:2: warning: statement with no effect [-Wunused-value]
arch/arm/mach-msm/board-saga.c: At top level:
arch/arm/mach-msm/board-saga.c:2954:30: warning: 'msm_spi_board_info' defined but not used [-Wunused-variable]
arch/arm/mach-msm/board-saga.c:3071:12: warning: 'hsusb_rpc_connect' defined but not used [-Wunused-function]
arch/arm/mach-msm/board-saga.c:3082:12: warning: 'msm_hsusb_ldo_init' defined but not used [-Wunused-function]
arch/arm/mach-msm/board-saga.c:3106:12: warning: 'msm_hsusb_ldo_enable' defined but not used [-Wunused-function]
arch/arm/mach-msm/board-saga.c:3124:12: warning: 'msm_hsusb_ldo_set_voltage' defined but not used [-Wunused-function]
make[1]: *** [arch/arm/mach-msm/board-saga.o] Errore 1
make: *** [arch/arm/mach-msm] Errore 2

i thinks the last 5 can be deleted but the others...?

i do not know c/++ ...