[Miscellaneous Android Development] vicatz:
here my result bro

/mediatek/custom/out/newmann1/kernel/magnetometer/akm8975.o mediatek/custom/out/newmann1/kernel/magnetometer/akm8975.c
mediatek/custom/out/newmann1/kernel/magnetometer/akm8975.c:220:2: warning: initialization from incompatible pointer type [enabled by default]
mediatek/custom/out/newmann1/kernel/magnetometer/akm8975.c:220:2: warning: (near initialization for 'akm8975_i2c_driver.detect') [enabled by default]
mediatek/custom/out/newmann1/kernel/magnetometer/akm8975.c:663:12: warning: function declaration isn't a prototype [-Wstrict-prototypes]
mediatek/custom/out/newmann1/kernel/magnetometer/akm8975.c: In function 'FctShipmntTestProcess_Body':
mediatek/custom/out/newmann1/kernel/magnetometer/akm8975.c:693:4: warning: too many arguments for format [-Wformat-extra-args]
mediatek/custom/out/newmann1/kernel/magnetometer/akm8975.c:701:3: warning: too many arguments for format [-Wformat-extra-args]
mediatek/custom/out/newmann1/kernel/magnetometer/akm8975.c:716:3: warning: too many arguments for format [-Wformat-extra-args]
mediatek/custom/out/newmann1/kernel/magnetometer/akm8975.c:729:3: warning: too many arguments for format [-Wformat-extra-args]
mediatek/custom/out/newmann1/kernel/magnetometer/akm8975.c:740:3: warning: too many arguments for format [-Wformat-extra-args]
mediatek/custom/out/newmann1/kernel/magnetometer/akm8975.c:747:3: warning: too many arguments for format [-Wformat-extra-args]
mediatek/custom/out/newmann1/kernel/magnetometer/akm8975.c:769:3: warning: too many arguments for format [-Wformat-extra-args]
mediatek/custom/out/newmann1/kernel/magnetometer/akm8975.c:775:3: warning: too many arguments for format [-Wformat-extra-args]
mediatek/custom/out/newmann1/kernel/magnetometer/akm8975.c:789:3: warning: too many arguments for format [-Wformat-extra-args]
mediatek/custom/out/newmann1/kernel/magnetometer/akm8975.c:799:3: warning: too many arguments for format [-Wformat-extra-args]
mediatek/custom/out/newmann1/kernel/magnetometer/akm8975.c:821:3: warning: too many arguments for format [-Wformat-extra-args]
mediatek/custom/out/newmann1/kernel/magnetometer/akm8975.c:827:3: warning: too many arguments for format [-Wformat-extra-args]
mediatek/custom/out/newmann1/kernel/magnetometer/akm8975.c:837:3: warning: too many arguments for format [-Wformat-extra-args]
mediatek/custom/out/newmann1/kernel/magnetometer/akm8975.c:916:3: warning: too many arguments for format [-Wformat-extra-args]
mediatek/custom/out/newmann1/kernel/magnetometer/akm8975.c: In function 'store_shipment_test':
mediatek/custom/out/newmann1/kernel/magnetometer/akm8975.c:927:6: warning: unused variable 'layout' [-Wunused-variable]
mediatek/custom/out/newmann1/kernel/magnetometer/akm8975.c:926:27: warning: unused variable 'data' [-Wunused-variable]
mediatek/custom/out/newmann1/kernel/magnetometer/akm8975.c: At top level:
mediatek/custom/out/newmann1/kernel/magnetometer/akm8975.c:1108:15: warning: initialization from incompatible pointer type [enabled by default]
mediatek/custom/out/newmann1/kernel/magnetometer/akm8975.c:1108:15: warning: (near initialization for 'driver_attr_shipmenttest.store') [enabled by default]
mediatek/custom/out/newmann1/kernel/magnetometer/akm8975.c:1112:15: warning: initialization from incompatible pointer type [enabled by default]
mediatek/custom/out/newmann1/kernel/magnetometer/akm8975.c:1112:15: warning: (near initialization for 'driver_attr_layout.store') [enabled by default]
mediatek/custom/out/newmann1/kernel/magnetometer/akm8975.c:1114:15: warning: initialization from incompatible pointer type [enabled by default]
mediatek/custom/out/newmann1/kernel/magnetometer/akm8975.c:1114:15: warning: (near initialization for 'driver_attr_trace.store') [enabled by default]
mediatek/custom/out/newmann1/kernel/magnetometer/akm8975.c: In function 'akm8975_create_attr':
mediatek/custom/out/newmann1/kernel/magnetometer/akm8975.c:1138:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
mediatek/custom/out/newmann1/kernel/magnetometer/akm8975.c: At top level:
mediatek/custom/out/newmann1/kernel/magnetometer/akm8975.c:1479:8: warning: initialization from incompatible pointer type [enabled by default]
mediatek/custom/out/newmann1/kernel/magnetometer/akm8975.c:1479:8: warning: (near initialization for 'akm8975_fops.unlocked_ioctl') [enabled by default]
mediatek/custom/out/newmann1/kernel/magnetometer/akm8975.c: In function 'akm8975_operate':
mediatek/custom/out/newmann1/kernel/magnetometer/akm8975.c:1492:13: warning: unused variable 'status' [-Wunused-variable]
mediatek/custom/out/newmann1/kernel/magnetometer/akm8975.c: In function 'akm8975_orientation_operate':
mediatek/custom/out/newmann1/kernel/magnetometer/akm8975.c:1600:27: warning: unused variable 'status' [-Wunused-variable]
mediatek/custom/out/newmann1/kernel/magnetometer/akm8975.c:1600:13: warning: unused variable 'sample_delay' [-Wunused-variable]
mediatek/custom/out/newmann1/kernel/magnetometer/akm8975.c: In function 'akm8975_early_suspend':
mediatek/custom/out/newmann1/kernel/magnetometer/akm8975.c:1731:6: warning: unused variable 'err' [-Wunused-variable]
mediatek/custom/out/newmann1/kernel/magnetometer/akm8975.c: In function 'akm8975_late_resume':
mediatek/custom/out/newmann1/kernel/magnetometer/akm8975.c:1745:6: warning: unused variable 'err' [-Wunused-variable]
mediatek/custom/out/newmann1/kernel/magnetometer/akm8975.c: In function 'akm8975_i2c_probe':
mediatek/custom/out/newmann1/kernel/magnetometer/akm8975.c:1809:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
mediatek/custom/out/newmann1/kernel/magnetometer/akm8975.c:1816:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
mediatek/custom/out/newmann1/kernel/magnetometer/akm8975.c:1824:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
mediatek/custom/out/newmann1/kernel/magnetometer/akm8975.c:1833:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
mediatek/custom/out/newmann1/kernel/magnetometer/akm8975.c: In function 'akm8975_i2c_remove':
mediatek/custom/out/newmann1/kernel/magnetometer/akm8975.c:1865:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
" -D"KBUILD_BASENAME=KBUILD_STR(mmc328xma_auto)" -D"KBUILD_MODNAME=KBUILD_STR(mmc328xma_auto)" -c -o mediatek/custom/out/newmann1/kernel/magnetometer/mmc328xma_auto.o mediatek/custom/out/newmann1/kernel/magnetometer/mmc328xma_auto.c
mediatek/custom/out/newmann1/kernel/magnetometer/mmc328xma_auto.c: In function 'mmc328x_SetPowerMode':
mediatek/custom/out/newmann1/kernel/magnetometer/mmc328xma_auto.c:223:27: warning: unused variable 'obj' [-Wunused-variable]
mediatek/custom/out/newmann1/kernel/magnetometer/mmc328xma_auto.c: In function 'I2C_RxData':
mediatek/custom/out/newmann1/kernel/magnetometer/mmc328xma_auto.c:314:3: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
mediatek/custom/out/newmann1/kernel/magnetometer/mmc328xma_auto.c: In function 'ECS_ReadXYZData':
mediatek/custom/out/newmann1/kernel/magnetometer/mmc328xma_auto.c:421:50: warning: unused variable 'aa' [-Wunused-variable]
mediatek/custom/out/newmann1/kernel/magnetometer/mmc328xma_auto.c:421:44: warning: unused variable 'delay' [-Wunused-variable]
mediatek/custom/out/newmann1/kernel/magnetometer/mmc328xma_auto.c:421:38: warning: unused variable 'time4' [-Wunused-variable]
mediatek/custom/out/newmann1/kernel/magnetometer/mmc328xma_auto.c:418:6: warning: unused variable 'wait_n' [-Wunused-variable]
mediatek/custom/out/newmann1/kernel/magnetometer/mmc328xma_auto.c:417:10: warning: unused variable 'expires' [-Wunused-variable]
mediatek/custom/out/newmann1/kernel/magnetometer/mmc328xma_auto.c: At top level:
mediatek/custom/out/newmann1/kernel/magnetometer/mmc328xma_auto.c:743:15: warning: initialization from incompatible pointer type [enabled by default]
mediatek/custom/out/newmann1/kernel/magnetometer/mmc328xma_auto.c:743:15: warning: (near initialization for 'driver_attr_layout.store') [enabled by default]
mediatek/custom/out/newmann1/kernel/magnetometer/mmc328xma_auto.c:745:15: warning: initialization from incompatible pointer type [enabled by default]
mediatek/custom/out/newmann1/kernel/magnetometer/mmc328xma_auto.c:745:15: warning: (near initialization for 'driver_attr_trace.store') [enabled by default]
mediatek/custom/out/newmann1/kernel/magnetometer/mmc328xma_auto.c: In function 'mmc328x_create_attr':
mediatek/custom/out/newmann1/kernel/magnetometer/mmc328xma_auto.c:768:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
mediatek/custom/out/newmann1/kernel/magnetometer/mmc328xma_auto.c: At top level:
mediatek/custom/out/newmann1/kernel/magnetometer/mmc328xma_auto.c:1101:2: warning: initialization from incompatible pointer type [enabled by default]
mediatek/custom/out/newmann1/kernel/magnetometer/mmc328xma_auto.c:1101:2: warning: (near initialization for 'mmc328x_fops.unlocked_ioctl') [enabled by default]
mediatek/custom/out/newmann1/kernel/magnetometer/mmc328xma_auto.c: In function 'mmc328x_i2c_probe':
mediatek/custom/out/newmann1/kernel/magnetometer/mmc328xma_auto.c:1433:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
mediatek/custom/out/newmann1/kernel/magnetometer/mmc328xma_auto.c:1440:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
mediatek/custom/out/newmann1/kernel/magnetometer/mmc328xma_auto.c:1448:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
mediatek/custom/out/newmann1/kernel/magnetometer/mmc328xma_auto.c:1457:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
mediatek/custom/out/newmann1/kernel/magnetometer/mmc328xma_auto.c: In function 'mmc328x_i2c_remove':
mediatek/custom/out/newmann1/kernel/magnetometer/mmc328xma_auto.c:1489:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
mediatek/custom/out/newmann1/kernel/magnetometer/mmc328xma_auto.c: At top level:
mediatek/custom/out/newmann1/kernel/magnetometer/mmc328xma_auto.c:1379:12: warning: 'mmc328x_i2c_detect' defined but not used [-Wunused-function]
ccache /home/vicatz/android/Newman-N1/toolchain/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-gcc -Wp,-MD,mediatek/custom/out/newmann1/kernel/magnetometer/.mmc328xma_auto_cust_mag.o.d -nostdinc -isystem /home/vicatz/android/Newman-N1/toolchain/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/include -I/home/vicatz/android/Newman-N1/kernel/arch/arm/include -Iarch/arm/include/generated -DMTK_NEON_SUPPORT=\"yes\" -DMTK_SHARE_MODEM_CURRENT=\"2\" -DLCM_HEIGHT=\"800\" -DUSER_BUILD_KERNEL -Wframe-larger-than=1024 -fno-stack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(gt813_driver)" -D"KBUILD_MODNAME=KBUILD_STR(gt813_driver)" -c -o mediatek/custom/out/newmann1/kernel/touchpanel/gt813_driver.o mediatek/custom/out/newmann1/kernel/touchpanel/gt813_driver.c
mediatek/custom/out/newmann1/kernel/touchpanel/gt813_driver.c:123:5: warning: initialization from incompatible pointer type [enabled by default]
mediatek/custom/out/newmann1/kernel/touchpanel/gt813_driver.c:123:5: warning: (near initialization for 'tpd_i2c_driver.detect') [enabled by default]
mediatek/custom/out/newmann1/kernel/touchpanel/gt813_driver.c:148:8: warning: return type defaults to 'int' [-Wreturn-type]
mediatek/custom/out/newmann1/kernel/touchpanel/gt813_driver.c:148:8: warning: function declaration isn't a prototype [-Wstrict-prototypes]
mediatek/custom/out/newmann1/kernel/touchpanel/gt813_driver.c: In function 'gt813_config_read_proc':
mediatek/custom/out/newmann1/kernel/touchpanel/gt813_driver.c:211:5: warning: passing argument 3 of 'i2c_read_bytes' from incompatible pointer type [enabled by default]
mediatek/custom/out/newmann1/kernel/touchpanel/gt813_driver.c:162:12: note: expected 'u8 *' but argument is of type 'int *'
mediatek/custom/out/newmann1/kernel/touchpanel/gt813_driver.c: In function 'tpd_i2c_probe':
mediatek/custom/out/newmann1/kernel/touchpanel/gt813_driver.c:689:13: error: 'cfg_data_version_OFG' undeclared (first use in this function)
mediatek/custom/out/newmann1/kernel/touchpanel/gt813_driver.c:689:13: note: each undeclared identifier is reported only once for each function it appears in
mediatek/custom/out/newmann1/kernel/touchpanel/gt813_driver.c:623:9: warning: unused variable 'retry' [-Wunused-variable]
mediatek/custom/out/newmann1/kernel/touchpanel/gt813_driver.c: In function 'touch_event_handler':
mediatek/custom/out/newmann1/kernel/touchpanel/gt813_driver.c:989:30: error: 'tpd_keys_local' undeclared (first use in this function)
mediatek/custom/out/newmann1/kernel/touchpanel/gt813_driver.c:843:6: warning: unused variable 'buf_id' [-Wunused-variable]
mediatek/custom/out/newmann1/kernel/touchpanel/gt813_driver.c: At top level:
mediatek/custom/out/newmann1/kernel/touchpanel/gt813_driver.c:411:12: warning: 'gt813_check_data' defined but not used [-Wunused-function]
make[1]: *** [mediatek/custom/out/newmann1/kernel/touchpanel/gt813_driver.o] Error 1
make: *** [mediatek/custom/out/newmann1/kernel] Error 2
make: Leaving directory `/home/vicatz/android/Newman-N1/kernel'
vicatz@ubuntu:~/android/Newman-N1/kernel$

my device not a newman n1

sory for my bad english