Problem width linux driver for fxos8700/fxas2100x

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Problem width linux driver for fxos8700/fxas2100x

2,692 次查看
r6mf49t2
Contributor I

Hey.
I connected FXAS21002C and FXOS8700CQ to my system via spi and i2c. Devices normally work if they are accessed directly. Now I wanted to add the drivers of these devices to the kernel, but when I compile, I get a bunch of errors. What can be wrong?

root@Cherkanov-M:~/linux-socfpga-rel_socfpga-4.19_18.11.03_pr# make -j 4 uImage
scripts/kconfig/conf --syncconfig Kconfig
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
GZIP kernel/config_data.gz
UPD kernel/config_data.h
CC kernel/configs.o
AR kernel/built-in.a
CC drivers/misc/fxos8700.o
CC drivers/misc/fxas2100x.o
drivers/misc/fxos8700.c: In function ‘fxos8700_acc_ioctl’:
drivers/misc/fxos8700.c:299:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if(copy_from_user(&delay,argp,sizeof(int)));
^~
drivers/misc/fxos8700.c:300:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
{
^
drivers/misc/fxos8700.c: In function ‘fxos8700_mag_ioctl’:
drivers/misc/fxos8700.c:405:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if(copy_from_user(&delay,argp,sizeof(int)));
^~
drivers/misc/fxos8700.c:406:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
{
^
In file included from ./include/linux/kernel.h:15:0,
from ./include/linux/list.h:9,
from ./include/linux/module.h:9,
from drivers/misc/fxos8700.c:22:
drivers/misc/fxos8700.c: At top level:
./include/linux/build_bug.h:29:45: error: negative width in bit-field ‘<anonymous>’
#define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:(-!!(e)); }))
^
./include/linux/kernel.h:1033:3: note: in expansion of macro ‘BUILD_BUG_ON_ZERO’
BUILD_BUG_ON_ZERO((perms) & 2) + \
^~~~~~~~~~~~~~~~~
./include/linux/sysfs.h:103:12: note: in expansion of macro ‘VERIFY_OCTAL_PERMISSIONS’
.mode = VERIFY_OCTAL_PERMISSIONS(_mode) }, \
^~~~~~~~~~~~~~~~~~~~~~~~
./include/linux/device.h:591:45: note: in expansion of macro ‘__ATTR’
struct device_attribute dev_attr_##_name = __ATTR(_name, _mode, _show, _store)
^~~~~~
drivers/misc/fxos8700.c:595:8: note: in expansion of macro ‘DEVICE_ATTR’
static DEVICE_ATTR(enable, 0666,fxos8700_enable_show, fxos8700_enable_store);
^~~~~~~~~~~
./include/linux/build_bug.h:29:45: error: negative width in bit-field ‘<anonymous>’
#define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:(-!!(e)); }))
^
./include/linux/kernel.h:1033:3: note: in expansion of macro ‘BUILD_BUG_ON_ZERO’
BUILD_BUG_ON_ZERO((perms) & 2) + \
^~~~~~~~~~~~~~~~~
./include/linux/sysfs.h:103:12: note: in expansion of macro ‘VERIFY_OCTAL_PERMISSIONS’
.mode = VERIFY_OCTAL_PERMISSIONS(_mode) }, \
^~~~~~~~~~~~~~~~~~~~~~~~
./include/linux/device.h:591:45: note: in expansion of macro ‘__ATTR’
struct device_attribute dev_attr_##_name = __ATTR(_name, _mode, _show, _store)
^~~~~~
drivers/misc/fxos8700.c:597:8: note: in expansion of macro ‘DEVICE_ATTR’
static DEVICE_ATTR(poll_delay,0666,fxos8700_poll_delay_show, fxos8700_poll_delay_store);
^~~~~~~~~~~
./include/linux/build_bug.h:29:45: error: negative width in bit-field ‘<anonymous>’
#define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:(-!!(e)); }))
^
./include/linux/kernel.h:1033:3: note: in expansion of macro ‘BUILD_BUG_ON_ZERO’
BUILD_BUG_ON_ZERO((perms) & 2) + \
^~~~~~~~~~~~~~~~~
./include/linux/sysfs.h:103:12: note: in expansion of macro ‘VERIFY_OCTAL_PERMISSIONS’
.mode = VERIFY_OCTAL_PERMISSIONS(_mode) }, \
^~~~~~~~~~~~~~~~~~~~~~~~
./include/linux/device.h:591:45: note: in expansion of macro ‘__ATTR’
struct device_attribute dev_attr_##_name = __ATTR(_name, _mode, _show, _store)
^~~~~~
drivers/misc/fxos8700.c:599:8: note: in expansion of macro ‘DEVICE_ATTR’
static DEVICE_ATTR(position, 0666,fxos8700_position_show, fxos8700_position_store);
^~~~~~~~~~~
./include/linux/build_bug.h:29:45: error: negative width in bit-field ‘<anonymous>’
#define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:(-!!(e)); }))
^
./include/linux/kernel.h:1033:3: note: in expansion of macro ‘BUILD_BUG_ON_ZERO’
BUILD_BUG_ON_ZERO((perms) & 2) + \
^~~~~~~~~~~~~~~~~
./include/linux/sysfs.h:103:12: note: in expansion of macro ‘VERIFY_OCTAL_PERMISSIONS’
.mode = VERIFY_OCTAL_PERMISSIONS(_mode) }, \
^~~~~~~~~~~~~~~~~~~~~~~~
./include/linux/device.h:591:45: note: in expansion of macro ‘__ATTR’
struct device_attribute dev_attr_##_name = __ATTR(_name, _mode, _show, _store)
^~~~~~
drivers/misc/fxos8700.c:601:8: note: in expansion of macro ‘DEVICE_ATTR’
static DEVICE_ATTR(data, 0666,fxos8700_data_show, NULL);
^~~~~~~~~~~
./include/linux/build_bug.h:29:45: error: negative width in bit-field ‘<anonymous>’
#define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:(-!!(e)); }))
^
./include/linux/kernel.h:1033:3: note: in expansion of macro ‘BUILD_BUG_ON_ZERO’
BUILD_BUG_ON_ZERO((perms) & 2) + \
^~~~~~~~~~~~~~~~~
./include/linux/sysfs.h:103:12: note: in expansion of macro ‘VERIFY_OCTAL_PERMISSIONS’
.mode = VERIFY_OCTAL_PERMISSIONS(_mode) }, \
^~~~~~~~~~~~~~~~~~~~~~~~
./include/linux/device.h:591:45: note: in expansion of macro ‘__ATTR’
struct device_attribute dev_attr_##_name = __ATTR(_name, _mode, _show, _store)
^~~~~~
drivers/misc/fxos8700.c:628:8: note: in expansion of macro ‘DEVICE_ATTR’
static DEVICE_ATTR(motion_detect, 0666,fxos8700_motion_detect_show, fxos8700_motion_detect_store);
^~~~~~~~~~~
drivers/misc/fxos8700.c:807:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fxos8700_probe’
static int __devinit fxos8700_probe(struct i2c_client *client,
^~~~~~~~~~~~~~
drivers/misc/fxos8700.c:896:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fxos8700_remove’
static int __devexit fxos8700_remove(struct i2c_client *client)
^~~~~~~~~~~~~~~
drivers/misc/fxos8700.c:946:11: error: ‘fxos8700_probe’ undeclared here (not in a function); did you mean ‘fxos8700_driver’?
.probe = fxos8700_probe,
^~~~~~~~~~~~~~
fxos8700_driver
drivers/misc/fxos8700.c:947:12: error: implicit declaration of function ‘__devexit_p’; did you mean ‘__exit_p’? [-Werror=implicit-function-declaration]
.remove = __devexit_p(fxos8700_remove),
^~~~~~~~~~~
__exit_p
drivers/misc/fxas2100x.c: In function ‘fxas2100x_ioctl’:
drivers/misc/fxas2100x.c:320:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if(copy_from_user(&delay,argp,sizeof(int)));
^~
drivers/misc/fxas2100x.c:321:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
{
^
drivers/misc/fxos8700.c:947:24: error: ‘fxos8700_remove’ undeclared here (not in a function); did you mean ‘fxos8700_resume’?
.remove = __devexit_p(fxos8700_remove),
^~~~~~~~~~~~~~~
fxos8700_resume
In file included from ./include/linux/kernel.h:15:0,
from ./include/linux/list.h:9,
from ./include/linux/module.h:9,
from drivers/misc/fxas2100x.c:20:
drivers/misc/fxas2100x.c: At top level:
drivers/misc/fxos8700.c:764:20: warning: ‘fxos8700_irq_handler’ defined but not used [-Wunused-function]
static irqreturn_t fxos8700_irq_handler(int irq, void *dev)
^~~~~~~~~~~~~~~~~~~~
./include/linux/build_bug.h:29:45: error: negative width in bit-field ‘<anonymous>’
#define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:(-!!(e)); }))
^
./include/linux/kernel.h:1033:3: note: in expansion of macro ‘BUILD_BUG_ON_ZERO’
BUILD_BUG_ON_ZERO((perms) & 2) + \
^~~~~~~~~~~~~~~~~
./include/linux/sysfs.h:103:12: note: in expansion of macro ‘VERIFY_OCTAL_PERMISSIONS’
.mode = VERIFY_OCTAL_PERMISSIONS(_mode) }, \
^~~~~~~~~~~~~~~~~~~~~~~~
./include/linux/device.h:591:45: note: in expansion of macro ‘__ATTR’
struct device_attribute dev_attr_##_name = __ATTR(_name, _mode, _show, _store)
^~~~~~
drivers/misc/fxas2100x.c:460:8: note: in expansion of macro ‘DEVICE_ATTR’
static DEVICE_ATTR(enable, 0666, fxas2100x_enable_show, fxas2100x_enable_store);
^~~~~~~~~~~
drivers/misc/fxos8700.c:748:12: warning: ‘fxos8700_unregister_input_device’ defined but not used [-Wunused-function]
static int fxos8700_unregister_input_device(struct fxos8700_data *pdata)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./include/linux/build_bug.h:29:45: error: negative width in bit-field ‘<anonymous>’
#define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:(-!!(e)); }))
^
./include/linux/kernel.h:1033:3: note: in expansion of macro ‘BUILD_BUG_ON_ZERO’
BUILD_BUG_ON_ZERO((perms) & 2) + \
^~~~~~~~~~~~~~~~~
./include/linux/sysfs.h:103:12: note: in expansion of macro ‘VERIFY_OCTAL_PERMISSIONS’
.mode = VERIFY_OCTAL_PERMISSIONS(_mode) }, \
^~~~~~~~~~~~~~~~~~~~~~~~
./include/linux/device.h:591:45: note: in expansion of macro ‘__ATTR’
struct device_attribute dev_attr_##_name = __ATTR(_name, _mode, _show, _store)
^~~~~~
drivers/misc/fxas2100x.c:462:8: note: in expansion of macro ‘DEVICE_ATTR’
static DEVICE_ATTR(poll_delay, 0666,fxas2100x_poll_delay_show, fxas2100x_poll_delay_store);
^~~~~~~~~~~
drivers/misc/fxos8700.c:696:12: warning: ‘fxos8700_register_input_device’ defined but not used [-Wunused-function]
static int fxos8700_register_input_device(struct fxos8700_data *pdata)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./include/linux/build_bug.h:29:45: error: negative width in bit-field ‘<anonymous>’
#define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:(-!!(e)); }))
^
./include/linux/kernel.h:1033:3: note: in expansion of macro ‘BUILD_BUG_ON_ZERO’
BUILD_BUG_ON_ZERO((perms) & 2) + \
^~~~~~~~~~~~~~~~~
./include/linux/sysfs.h:103:12: note: in expansion of macro ‘VERIFY_OCTAL_PERMISSIONS’
.mode = VERIFY_OCTAL_PERMISSIONS(_mode) }, \
^~~~~~~~~~~~~~~~~~~~~~~~
./include/linux/device.h:591:45: note: in expansion of macro ‘__ATTR’
struct device_attribute dev_attr_##_name = __ATTR(_name, _mode, _show, _store)
^~~~~~
drivers/misc/fxas2100x.c:464:8: note: in expansion of macro ‘DEVICE_ATTR’
static DEVICE_ATTR(position, 0666,fxas2100x_position_show, fxas2100x_position_store);
^~~~~~~~~~~
drivers/misc/fxos8700.c:682:12: warning: ‘fxos8700_unregister_sysfs_device’ defined but not used [-Wunused-function]
static int fxos8700_unregister_sysfs_device(struct fxos8700_data *pdata)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./include/linux/build_bug.h:29:45: error: negative width in bit-field ‘<anonymous>’
#define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:(-!!(e)); }))
^
./include/linux/kernel.h:1033:3: note: in expansion of macro ‘BUILD_BUG_ON_ZERO’
BUILD_BUG_ON_ZERO((perms) & 2) + \
^~~~~~~~~~~~~~~~~
./include/linux/sysfs.h:103:12: note: in expansion of macro ‘VERIFY_OCTAL_PERMISSIONS’
.mode = VERIFY_OCTAL_PERMISSIONS(_mode) }, \
^~~~~~~~~~~~~~~~~~~~~~~~
./include/linux/device.h:591:45: note: in expansion of macro ‘__ATTR’
struct device_attribute dev_attr_##_name = __ATTR(_name, _mode, _show, _store)
^~~~~~
drivers/misc/fxas2100x.c:466:8: note: in expansion of macro ‘DEVICE_ATTR’
static DEVICE_ATTR(data, 0666,fxas2100x_data_show, NULL);
^~~~~~~~~~~
drivers/misc/fxos8700.c:656:12: warning: ‘fxos8700_register_sysfs_device’ defined but not used [-Wunused-function]
static int fxos8700_register_sysfs_device(struct fxos8700_data *pdata)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/misc/fxas2100x.c:503:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fxas2100x_probe’
static int __devinit fxas2100x_probe(struct i2c_client *client,
^~~~~~~~~~~~~~~
drivers/misc/fxos8700.c:462:26: warning: ‘fxos8700_mag_device’ defined but not used [-Wunused-variable]
static struct miscdevice fxos8700_mag_device = {
^~~~~~~~~~~~~~~~~~~
drivers/misc/fxas2100x.c:595:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fxas2100x_remove’
static int __devexit fxas2100x_remove(struct i2c_client *client)
^~~~~~~~~~~~~~~~
drivers/misc/fxos8700.c:456:26: warning: ‘fxos8700_acc_device’ defined but not used [-Wunused-variable]
static struct miscdevice fxos8700_acc_device = {
^~~~~~~~~~~~~~~~~~~
drivers/misc/fxos8700.c:187:12: warning: ‘fxos8700_device_init’ defined but not used [-Wunused-function]
static int fxos8700_device_init(struct i2c_client *client)
^~~~~~~~~~~~~~~~~~~~
drivers/misc/fxas2100x.c:647:12: error: ‘fxas2100x_probe’ undeclared here (not in a function); did you mean ‘fxas2100x_driver’?
.probe = fxas2100x_probe,
^~~~~~~~~~~~~~~
fxas2100x_driver
cc1: some warnings being treated as errors
drivers/misc/fxas2100x.c:648:13: error: implicit declaration of function ‘__devexit_p’; did you mean ‘__exit_p’? [-Werror=implicit-function-declaration]
.remove = __devexit_p(fxas2100x_remove),
^~~~~~~~~~~
__exit_p
scripts/Makefile.build:305: recipe for target 'drivers/misc/fxos8700.o' failed
make[2]: *** [drivers/misc/fxos8700.o] Error 1
make[2]: *** Waiting for unfinished jobs....
drivers/misc/fxas2100x.c:648:25: error: ‘fxas2100x_remove’ undeclared here (not in a function); did you mean ‘fxas2100x_resume’?
.remove = __devexit_p(fxas2100x_remove),
^~~~~~~~~~~~~~~~
fxas2100x_resume
drivers/misc/fxas2100x.c:481:20: warning: ‘fxas2100x_irq_handler’ defined but not used [-Wunused-function]
static irqreturn_t fxas2100x_irq_handler(int irq, void *dev)
^~~~~~~~~~~~~~~~~~~~~
drivers/misc/fxas2100x.c:370:26: warning: ‘fxas2100x_device’ defined but not used [-Wunused-variable]
static struct miscdevice fxas2100x_device = {
^~~~~~~~~~~~~~~~
drivers/misc/fxas2100x.c:137:12: warning: ‘fxas2100x_device_init’ defined but not used [-Wunused-function]
static int fxas2100x_device_init(struct i2c_client *client)
^~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
scripts/Makefile.build:305: recipe for target 'drivers/misc/fxas2100x.o' failed
make[2]: *** [drivers/misc/fxas2100x.o] Error 1
scripts/Makefile.build:546: recipe for target 'drivers/misc' failed
make[1]: *** [drivers/misc] Error 2
make[1]: *** Waiting for unfinished jobs....
Makefile:1052: recipe for target 'drivers' failed
make: *** [drivers] Error 2

标签 (3)
0 项奖励
1 回复

2,194 次查看
r6mf49t2
Contributor I

 fixed the driver, now they are compiled. If someone encounters the same problem:

0 项奖励
%3CLINGO-SUB%20id%3D%22lingo-sub-841675%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3Efxos8700%2Ffxas2100x%20%E7%9A%84%20Linux%20%E9%A9%B1%E5%8A%A8%E7%A8%8B%E5%BA%8F%E5%AE%BD%E5%BA%A6%E9%97%AE%E9%A2%98%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-841675%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%26lt%3Bmeta%20http-equiv%3D%22Content-Type%22%20content%3D%22text%2Fhtml%3B%20charset%3Dutf-8%22%20%2F%26gt%3B%0A%3CP%3E%E5%98%BF%E3%80%82%3CBR%20%2F%3E%E6%88%91%E9%80%9A%E8%BF%87%20spi%20%E5%92%8C%20i2c%20%E5%B0%86%20FXAS21002C%20%E5%92%8C%20FXOS8700CQ%20%E8%BF%9E%E6%8E%A5%E5%88%B0%E6%88%91%E7%9A%84%E7%B3%BB%E7%BB%9F%E3%80%82%E5%A6%82%E6%9E%9C%E7%9B%B4%E6%8E%A5%E8%AE%BF%E9%97%AE%E8%AE%BE%E5%A4%87%EF%BC%8C%E5%88%99%E9%80%9A%E5%B8%B8%E5%8F%AF%E4%BB%A5%E6%AD%A3%E5%B8%B8%E5%B7%A5%E4%BD%9C%E3%80%82%E7%8E%B0%E5%9C%A8%E6%88%91%E6%83%B3%E5%B0%86%E8%BF%99%E4%BA%9B%E8%AE%BE%E5%A4%87%E7%9A%84%E9%A9%B1%E5%8A%A8%E7%A8%8B%E5%BA%8F%E6%B7%BB%E5%8A%A0%E5%88%B0%E5%86%85%E6%A0%B8%E4%B8%AD%EF%BC%8C%E4%BD%86%E6%98%AF%E5%BD%93%E6%88%91%E7%BC%96%E8%AF%91%E6%97%B6%EF%BC%8C%E6%88%91%E9%81%87%E5%88%B0%E4%BA%86%E5%BE%88%E5%A4%9A%E9%94%99%E8%AF%AF%E3%80%82%E4%BC%9A%E5%87%BA%E4%BB%80%E4%B9%88%E9%97%AE%E9%A2%98%E5%91%A2%EF%BC%9F%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CBLOCKQUOTE%20class%3D%22jive_macro_quote%20jive-quote%20jive_text_macro%22%3E%3CP%3Eroot%40Cherkanov-M%3A~%2Flinux-socfpga-rel_socfpga-4.19_18.11.03_pr%23%20make%20-j%204%20uImage%3CBR%20%2F%3Escripts%2Fkconfig%2Fconf%20--syncconfig%20Kconfig%3CBR%20%2F%3E%20CALL%20scripts%2Fchecksyscalls.sh%3CBR%20%2F%3ECHK%20include%2Fgenerated%2Fcompile.h%3CBR%20%2F%3E%20GZIP%20kernel%2Fconfig_data.gz%3CBR%20%2F%3EUPD%20kernel%2Fconfig_data.h%3CBR%20%2F%3ECC%20kernel%2Fconfigs.o%3CBR%20%2F%3EAR%20%E5%86%85%E6%A0%B8%2F%E5%86%85%E7%BD%AE%20%3CBR%20%2F%3ECC%20%E9%A9%B1%E5%8A%A8%E7%A8%8B%E5%BA%8F%2Fmisc%2Ffxos8700.o%3CBR%20%2F%3ECC%20drivers%2Fmisc%2Ffxas2100x.o%3CBR%20%2F%3Edrivers%2Fmisc%2Ffxos8700.c%EF%BC%9A%E5%9C%A8%E5%87%BD%E6%95%B0%20'fxos8700_acc_ioctl'%20%E4%B8%AD%EF%BC%9A%3CBR%20%2F%3Edrivers%2Fmisc%2Ffxos8700.c%3A299%3A4%EF%BC%9A%E8%AD%A6%E5%91%8A%EF%BC%9A%E6%AD%A4%20%22if%20%22%E5%AD%90%E5%8F%A5%E4%B8%8D%E4%BF%9D%E6%8A%A4...%5B-Wmisleading-indentation%5D%3CBR%20%2F%3E%20if(copy_from_user(%26amp%3Bdelay%2Cargp%2Csizeof(int)))%3B%3CBR%20%2F%3E%20%5E~%3CBR%20%2F%3Edrivers%2Fmisc%2Ffxos8700.c%3A300%3A4%EF%BC%9A%E6%B3%A8%EF%BC%9A......%E8%BF%99%E6%9D%A1%E8%AF%AD%E5%8F%A5%EF%BC%8C%E4%BD%86%E5%90%8E%E8%80%85%E7%9A%84%E7%BC%A9%E8%BF%9B%E4%BB%A4%E4%BA%BA%E8%AF%AF%E8%A7%A3%EF%BC%8C%E5%A5%BD%E5%83%8F%E5%AE%83%E6%98%AF%E7%94%B1%20%22if%20%22%E6%9D%A5%E4%BF%9D%E6%8A%A4%E7%9A%84%3CBR%20%2F%3E%20%7B%3CBR%20%2F%3E%20%5E%3CBR%20%2F%3Edrivers%2Fmisc%2Ffxos8700.c%EF%BC%9A%E5%9C%A8%E5%87%BD%E6%95%B0%20'fxos8700_mag_ioctl'%20%E4%B8%AD%EF%BC%9A%3CBR%20%2F%3Edrivers%2Fmisc%2Ffxos8700.c%3A405%3A4%EF%BC%9A%E8%AD%A6%E5%91%8A%EF%BC%9A%E6%AD%A4%20%22if%20%22%E5%AD%90%E5%8F%A5%E4%B8%8D%E4%BF%9D%E6%8A%A4...%5B-Wmisleading-indentation%5D%3CBR%20%2F%3E%20if(copy_from_user(%26amp%3Bdelay%2Cargp%2Csizeof(int)))%3B%3CBR%20%2F%3E%20%5E~%3CBR%20%2F%3Edrivers%2Fmisc%2Ffxos8700.c%3A406%3A4%EF%BC%9A%E6%B3%A8%EF%BC%9A......%E8%AF%A5%E8%AF%AD%E5%8F%A5%EF%BC%8C%E4%BD%86%E5%90%8E%E8%80%85%E8%A2%AB%E8%AF%AF%E5%AF%BC%E6%80%A7%E5%9C%B0%E7%BC%A9%E8%BF%9B%EF%BC%8C%E5%A5%BD%E5%83%8F%E5%AE%83%E8%A2%AB%20%22if%20%22%E6%89%80%E4%BF%9D%E6%8A%A4%3CBR%20%2F%3E%20%7B%3CBR%20%2F%3E%20%5E%3CBR%20%2F%3EIn%20file%20included%20from%20.%2Finclude%2Flinux%2Fkernel.h%3A15%3A0%2C%3CBR%20%2F%3E%20from%20.%2Finclude%2Flinux%2Flist.h%3A9%2C%3CBR%20%2F%3E%20from%20.%2Finclude%2Flinux%2Fmodule.h%3A9%2C%3CBR%20%2F%3E%20from%20drivers%2Fmisc%2Ffxos8700.c%3A22%3A%3CBR%20%2F%3Edrivers%2Fmisc%2Ffxos8700.c%EF%BC%9A%E5%9C%A8%E9%A1%B6%E5%B1%82%EF%BC%9A%3CBR%20%2F%3E.%2Finclude%2Flinux%2Fbuild_bug.h%3A29%3A45%3A%20error%3A%20negative%20width%20in%20bit-field%20'%3CANONYMOUS%3E'%3CBR%20%2F%3E%20%23define%20BUILD_BUG_ON_ZERO(e)%20(sizeof(struct%20%7B%20int%3A(-!!(e))%3B%20%7D))%3CBR%20%2F%3E%20%5E%3CBR%20%2F%3E.%2Finclude%2Flinux%2Fkernel.h%3A1033%3A3%3A%20note%3A%20in%20expansion%20of%20macro%20'BUILD_BUG_ON_ZERO'%3CBR%20%2F%3E%20BUILD_BUG_ON_ZERO((perms)%26amp%3B%202)%20%2B%20%5C%3CBR%20%2F%3E%20%5E~~~~~~~~~~~~~~~~%3CBR%20%2F%3E.%2Finclude%2Flinux%2Fsysfs.h%3A103%3A12%3A%20note%3A%20in%20expansion%20of%20macro%20'VERIFY_OCTAL_PERMISSIONS'%3CBR%20%2F%3E.%20mode%3D%20VERIFY_OCTAL_PERMISSIONS%20(_mode)%7D%2C%5C%20%5E~~~~~~~~~~~~~~~~~~~~~~~~~~~~~%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%2Finclude%2Flinux%2Fdevice.h%3A%20591%3A45%EF%BC%9A%E6%B3%A8%E6%84%8F%EF%BC%9A%E5%9C%A8%E6%89%A9%E5%B1%95%E5%AE%8F%20'__ATTR'%20%3CBR%20%2F%3E%20%E7%BB%93%E6%9E%84%E6%97%B6%EF%BC%8C%E8%AE%BE%E5%A4%87%E5%B1%9E%E6%80%A7%20device_attr_%23%20%23_name%20%3D%20__ATTR%20(_name%E3%80%81_mode%E3%80%81_show%E3%80%81_store)%20%5E~~~~~%20%E9%A9%B1%E5%8A%A8%E5%99%A8%2Fmisc%2Ffxos8700.c%3A%20595%3A8%3A%20%3CBR%20%2F%3E%20%3CBR%20%2F%3Enote%3A%20in%20expansion%20of%20macro%20'DEVICE_ATTR'%3CBR%20%2F%3E%20static%20DEVICE_ATTR(enable%2C%200666%2Cfxos8700_enable_show%2C%20fxos8700_enable_store)%3B%3CBR%20%2F%3E%20%5E~~~~~~~~~~%3CBR%20%2F%3E.%2Finclude%2Flinux%2Fbuild_bug.h%3A29%3A45%3A%20error%3A%20negative%20width%20in%20bit-field%20'%3CANONYMOUS%3E'%3CBR%20%2F%3E%20%23define%20BUILD_BUG_ON_ZERO(e)%20(sizeof(struct%20%7B%20int%3A(-!!(e))%3B%20%7D))%3CBR%20%2F%3E%20%5E%3CBR%20%2F%3E.%2Finclude%2Flinux%2Fkernel.h%3A1033%3A3%3A%20note%3A%20in%20expansion%20of%20macro%20'BUILD_BUG_ON_ZERO'%3CBR%20%2F%3E%20BUILD_BUG_ON_ZERO((perms)%26amp%3B%202)%20%2B%20%5C%3CBR%20%2F%3E%20%5E~~~~~~~~~~~~~~~~%3CBR%20%2F%3E.%2Finclude%2Flinux%2Fsysfs.h%3A103%3A12%3A%20note%3A%20in%20expansion%20of%20macro%20'VERIFY_OCTAL_PERMISSIONS'%3CBR%20%2F%3E.mode%3D%20VERIFY_OCTAL_PERMISSIONS%20(_mode)%7D%2C%5C%20%5E~~~~~~~~~~~~~~~~~~~~~~~~~~~~~%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%2Finclude%2Flinux%2Fdevice.h%3A%20591%3A45%EF%BC%9A%E6%B3%A8%E6%84%8F%EF%BC%9A%E5%9C%A8%E6%89%A9%E5%B1%95%E5%AE%8F%20'__ATTR'%20%3CBR%20%2F%3E%20%E7%BB%93%E6%9E%84%E6%97%B6%EF%BC%8C%E8%AE%BE%E5%A4%87%E5%B1%9E%E6%80%A7%20device_attr_%23%20%23_name%20%3D%20__ATTR%20(_name%E3%80%81_mode%E3%80%81_show%E3%80%81_store)%20%5E~~~~%20%E9%A9%B1%E5%8A%A8%E5%99%A8%2Fmisc%2Ffxos8700.c%3A%20597%3A8%3A%20%3CBR%20%2F%3E%20%3CBR%20%2F%3Enote%3A%20in%20expansion%20of%20macro%20'DEVICE_ATTR'%3CBR%20%2F%3E%20static%20DEVICE_ATTR(poll_delay%2C0666%2Cfxos8700_poll_delay_show%2C%20fxos8700_poll_delay_store)%3B%3CBR%20%2F%3E%20%5E~~~~~~~~~~%3CBR%20%2F%3E.%2Finclude%2Flinux%2Fbuild_bug.h%3A29%3A45%3A%20error%3A%20negative%20width%20in%20bit-field%20'%3CANONYMOUS%3E'%3CBR%20%2F%3E%20%23define%20BUILD_BUG_ON_ZERO(e)%20(sizeof(struct%20%7B%20int%3A(-!!(e))%3B%20%7D))%3CBR%20%2F%3E%20%5E%3CBR%20%2F%3E.%2Finclude%2Flinux%2Fkernel.h%3A1033%3A3%3A%20note%3A%20in%20expansion%20of%20macro%20'BUILD_BUG_ON_ZERO'%3CBR%20%2F%3E%20BUILD_BUG_ON_ZERO((perms)%26amp%3B%202)%20%2B%20%5C%3CBR%20%2F%3E%20%5E~~~~~~~~~~~~~~~~%3CBR%20%2F%3E.%2Finclude%2Flinux%2Fsysfs.h%3A103%3A12%3A%20note%3A%20in%20expansion%20of%20macro%20'VERIFY_OCTAL_PERMISSIONS'%3CBR%20%2F%3E.mode%3D%20VERIFY_OCTAL_PERMISSIONS%20(_mode)%7D%2C%5C%20%5E~~~~~~~~~~~~~~~~~~~~~~~~~~~~~%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%2Finclude%2Flinux%2Fdevice.h%3A%20591%3A45%EF%BC%9A%E6%B3%A8%E6%84%8F%EF%BC%9A%E5%9C%A8%E6%89%A9%E5%B1%95%E5%AE%8F%20'__ATTR'%20%3CBR%20%2F%3E%20%E7%BB%93%E6%9E%84%E6%97%B6%EF%BC%8C%E8%AE%BE%E5%A4%87%E5%B1%9E%E6%80%A7%20device_attr_%23%20%23_name%20%3D%20__ATTR%20(_name%E3%80%81_mode%E3%80%81_show%E3%80%81_store)%20%5E~~~~~%20drivers%2Fmisc%2Ffxos8700.c%3A%20599%3A8%3A%20%3CBR%20%2F%3E%20%3CBR%20%2F%3Enote%3A%20in%20expansion%20of%20macro%20'DEVICE_ATTR'%3CBR%20%2F%3E%20static%20DEVICE_ATTR(position%2C%200666%2Cfxos8700_position_show%2C%20fxos8700_position_store)%3B%3CBR%20%2F%3E%20%5E~~~~~~~~~~%3CBR%20%2F%3E.%2Finclude%2Flinux%2Fbuild_bug.h%3A29%3A45%3A%20error%3A%20negative%20width%20in%20bit-field%20'%3CANONYMOUS%3E'%3CBR%20%2F%3E%20%23define%20BUILD_BUG_ON_ZERO(e)%20(sizeof(struct%20%7B%20int%3A(-!!(e))%3B%20%7D))%3CBR%20%2F%3E%20%5E%3CBR%20%2F%3E.%2Finclude%2Flinux%2Fkernel.h%3A1033%3A3%3A%20note%3A%20in%20expansion%20of%20macro%20'BUILD_BUG_ON_ZERO'%3CBR%20%2F%3E%20BUILD_BUG_ON_ZERO((perms)%26amp%3B%202)%20%2B%20%5C%3CBR%20%2F%3E%20%5E~~~~~~~~~~~~~~~~%3CBR%20%2F%3E.%2Finclude%2Flinux%2Fsysfs.h%3A103%3A12%3A%20note%3A%20in%20expansion%20of%20macro%20'VERIFY_OCTAL_PERMISSIONS'%3CBR%20%2F%3E.mode%3D%20VERIFY_OCTAL_PERMISSIONS%20(_mode)%7D%2C%5C%20%5E~~~~~~~~~~~~~~~~~~~~~~~~~~~~~%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%2Finclude%2Flinux%2Fdevice.h%3A%20591%3A45%EF%BC%9A%E6%B3%A8%E6%84%8F%EF%BC%9A%E5%9C%A8%E6%89%A9%E5%B1%95%E5%AE%8F%20'__ATTR'%20%3CBR%20%2F%3E%20%E7%BB%93%E6%9E%84%E6%97%B6%EF%BC%8C%E8%AE%BE%E5%A4%87%E5%B1%9E%E6%80%A7%20device_attr_%23%20%23_name%20%3D%20__ATTR%20(_name%E3%80%81_mode%E3%80%81_show%E3%80%81_store)%20%5E~~~~~%20drivers%2Fmisc%2Ffxos8700.c%3A%20601%3A8%3A%20%3CBR%20%2F%3E%20%3CBR%20%2F%3Enote%3A%20in%20expansion%20of%20macro%20'DEVICE_ATTR'%3CBR%20%2F%3E%20static%20DEVICE_ATTR(data%2C%200666%2Cfxos8700_data_show%2C%20NULL)%3B%3CBR%20%2F%3E%20%5E~~~~~~~~~~%3CBR%20%2F%3E.%2Finclude%2Flinux%2Fbuild_bug.h%3A29%3A45%3A%20error%3A%20negative%20width%20in%20bit-field%20'%3CANONYMOUS%3E'%3CBR%20%2F%3E%20%23define%20BUILD_BUG_ON_ZERO(e)%20(sizeof(struct%20%7B%20int%3A(-!!(e))%3B%20%7D))%3CBR%20%2F%3E%20%5E%3CBR%20%2F%3E.%2Finclude%2Flinux%2Fkernel.h%3A1033%3A3%3A%20note%3A%20in%20expansion%20of%20macro%20'BUILD_BUG_ON_ZERO'%3CBR%20%2F%3E%20BUILD_BUG_ON_ZERO((perms)%26amp%3B%202)%20%2B%20%5C%3CBR%20%2F%3E%20%5E~~~~~~~~~~~~~~~~%3CBR%20%2F%3E.%2Finclude%2Flinux%2Fsysfs.h%3A103%3A12%3A%20note%3A%20in%20expansion%20of%20macro%20'VERIFY_OCTAL_PERMISSIONS'%3CBR%20%2F%3E.mode%3D%20VERIFY_OCTAL_PERMISSIONS%20(_mode)%7D%2C%5C%20%5E~~~~~~~~~~~~~~~~~~~~~~~~~~~~~%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%2Finclude%2Flinux%2Fdevice.h%3A%20591%3A45%EF%BC%9A%E6%B3%A8%E6%84%8F%EF%BC%9A%E5%9C%A8%E6%89%A9%E5%B1%95%E5%AE%8F%20'__ATTR'%20%3CBR%20%2F%3E%20%E7%BB%93%E6%9E%84%E6%97%B6%EF%BC%8C%E8%AE%BE%E5%A4%87%E5%B1%9E%E6%80%A7%20device_attr_%23%20%23_name%20%3D%20__ATTR%20(_name%E3%80%81_mode%E3%80%81_show%E3%80%81_store)%20%5E~~~~~%20drivers%2Fmisc%2Ffxos8700.c%3A%20628%3A8%3A%20%3CBR%20%2F%3E%20%3CBR%20%2F%3Enote%3A%20in%20expansion%20of%20macro%20'DEVICE_ATTR'%3CBR%20%2F%3E%20static%20DEVICE_ATTR(motion_detect%2C%200666%2Cfxos8700_motion_detect_show%2C%20fxos8700_motion_detect_store)%3B%3CBR%20%2F%3E%20%5E~~~~~~~~~~%3CBR%20%2F%3Edrivers%2Fmisc%2Ffxos8700.c%3A807%3A22%EF%BC%9Aerror%3A%20expected%20'%3D'%2C%20'%2C'%2C%20'%3B'%2C%20'asm'%20or%20'__attribute__'%20before%20'fxos8700_probe'%3CBR%20%2F%3E%20static%20int%20__devinit%20fxos8700_probe(struct%20i2c_client%20*client%2C%3CBR%20%2F%3E%20%5E~~~~~~~~~~~~~%3CBR%20%2F%3Edrivers%2Fmisc%2Ffxos8700.c%3A896%3A22%EF%BC%9Aerror%3A%20expected%20'%3D'%2C%20'%2C'%2C%20'%3B'%2C%20'asm'%20or%20'__attribute__'%20before%20'fxos8700_remove'%3CBR%20%2F%3E%20static%20int%20__devexit%20fxos8700_remove(struct%20i2c_client%20*client)%3CBR%20%2F%3E%20%5E~~~~~~~~~~~~~~%3CBR%20%2F%3Edrivers%2Fmisc%2Ffxos8700.c%3A946%3A11%EF%BC%9Aerror%3A%20'fxos8700_probe'%20undeclared%20here%20(not%20in%20a%20function)%3B%20did%20you%20mean%20'fxos8700_driver'%3F%3CBR%20%2F%3E.probe%3D%20fxos8700_probe%2C%3CBR%20%2F%3E%20%5E~~~~~~~~~~~~~%3CBR%20%2F%3E%20fxos8700_driver%3CBR%20%2F%3Edrivers%2Fmisc%2Ffxos8700.c%3A947%3A12%EF%BC%9Aerror%3A%20implicit%20declaration%20of%20function%20'__devexit_p'%3B%20did%20you%20mean%20'__exit_p'%3F%5B-Werror%3Dimplicit-function-declaration%5D%3CBR%20%2F%3E.remove%3D%20__devexit_p(fxos8700_remove)%2C%3CBR%20%2F%3E%20%5E~~~~~~~~~~%3CBR%20%2F%3E%20__exit_p%3CBR%20%2F%3Edrivers%2Fmisc%2Ffxas2100x.c%EF%BC%9A%E5%9C%A8%E5%87%BD%E6%95%B0%20%22fxas2100x_ioctl%20%22%E4%B8%AD%EF%BC%9A%3CBR%20%2F%3Edrivers%2Fmisc%2Ffxas2100x.c%3A320%3A4%3A%20warning%3A%20this%20'if'%20clause%20does%20not%20guard...%5B-Wmisleading-indentation%5D%3CBR%20%2F%3E%20if(copy_from_user(%26amp%3Bdelay%2Cargp%2Csizeof(int)))%3B%3CBR%20%2F%3E%20%5E~%3CBR%20%2F%3Edrivers%2Fmisc%2Ffxas2100x.c%3A321%3A4%3A%20note%3A%20...%20this%20statement%2C%20but%20the%20latter%20is%20misleadingly%20indent%20as%20if'%20guarded%20by%20the%20'if'%3CBR%20%2F%3E%20%7B%3CBR%20%2F%3E%20%5E%3CBR%20%2F%3Edrivers%2Fmisc%2Ffxos8700.c%3A947%3A24%EF%BC%9Aerror%3A%20'fxos8700_remove'%20undeclared%20here%20(not%20in%20a%20function)%3B%20did%20you%20mean%20'fxos8700_resume'%3F%3CBR%20%2F%3E.remove%3D%20__devexit_p(fxos8700_remove)%2C%3CBR%20%2F%3E%20%5E~~~~~~~~~~~~~~%3CBR%20%2F%3E%20fxos8700_resume%3CBR%20%2F%3EIn%20file%20included%20from%20.%2Finclude%2Flinux%2Fkernel.h%3A15%3A0%2C%3CBR%20%2F%3E%20from%20.%2Finclude%2Flinux%2Flist.h%3A9%2C%3CBR%20%2F%3E%20from%20.%2Finclude%2Flinux%2Fmodule.h%3A9%2C%3CBR%20%2F%3E%20from%20drivers%2Fmisc%2Ffxas2100x.c%3A20%3A%3CBR%20%2F%3Edrivers%2Fmisc%2Ffxas2100x.c%EF%BC%9A%E5%9C%A8%E9%A1%B6%E5%B1%82%EF%BC%9A%3CBR%20%2F%3Edrivers%2Fmisc%2Ffxos8700.c%3A764%3A20%EF%BC%9Awarning%3A%20'fxos8700_irq_handler'%20defined%20but%20not%20used%20%5B-Wunused-function%5D%3CBR%20%2F%3E%20static%20irqreturn_t%20fxos8700_irq_handler(int%20irq%2C%20void%20*dev)%3CBR%20%2F%3E%20%5E~~~~~~~~~~~~~~~~~~~%3CBR%20%2F%3E.%2Finclude%2Flinux%2Fbuild_bug.h%3A29%3A45%3A%20error%3A%20negative%20width%20in%20bit-field%20'%3CANONYMOUS%3E'%3CBR%20%2F%3E%20%23define%20BUILD_BUG_ON_ZERO(e)%20(sizeof(struct%20%7B%20int%3A(-!!(e))%3B%20%7D))%3CBR%20%2F%3E%20%5E%3CBR%20%2F%3E.%2Finclude%2Flinux%2Fkernel.h%3A1033%3A3%3A%20note%3A%20in%20expansion%20of%20macro%20'BUILD_BUG_ON_ZERO'%3CBR%20%2F%3E%20BUILD_BUG_ON_ZERO((perms)%26amp%3B%202)%20%2B%20%5C%3CBR%20%2F%3E%20%5E~~~~~~~~~~~~~~~~%3CBR%20%2F%3E.%2Finclude%2Flinux%2Fsysfs.h%3A103%3A12%3A%20note%3A%20in%20expansion%20of%20macro%20'VERIFY_OCTAL_PERMISSIONS'%3CBR%20%2F%3E.mode%3D%20VERIFY_OCTAL_PERMISSIONS%20(_mode)%7D%2C%5C%20%5E~~~~~~~~~~~~~~~~~~~~~~~~~~~~~%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%2Finclude%2Flinux%2Fdevice.h%3A%20591%3A45%EF%BC%9A%E6%B3%A8%E6%84%8F%EF%BC%9A%E5%9C%A8%E6%89%A9%E5%B1%95%E5%AE%8F%20'__ATTR'%20%3CBR%20%2F%3E%20%E7%BB%93%E6%9E%84%E6%97%B6%20device_attr_%23%20%23_name%20%3D%20__ATTR%20(_name%E3%80%81_mode%E3%80%81_show%E3%80%81_store)%20%5E~~~~~%20%E9%A9%B1%E5%8A%A8%E5%99%A8%2Fmisc%2Ffxas2100x.c%3A%20460%3A8%EF%BC%9A%E6%B3%A8%E6%84%8F%EF%BC%9A%E5%9C%A8%E6%89%A9%E5%B1%95%E5%AE%8F%20%E2%80%9CDEVICE_ATTR%E2%80%9D%20%E6%97%B6%EF%BC%8C%E9%9D%99%E6%80%81%E8%AE%BE%E5%A4%87_ATTR%EF%BC%88%E5%90%AF%E7%94%A8%EF%BC%8C06%2066%EF%BC%8Cfxas2100x_enable_show%EF%BC%8Cfxas2100x_enable_store%EF%BC%89%EF%BC%9B%3CBR%20%2F%3E%5E~~~~~~~~~~~~%20%3CBR%20%2F%3E%20drivers%2Fmisc%2Ffxos8700.c%3A%20748%3A12%EF%BC%9A%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3Ewarning%3A%20'fxos8700_unregister_input_device'%20defined%20but%20not%20used%20%5B-Wunused-function%5D%3CBR%20%2F%3E%20static%20int%20fxos8700_unregister_input_device(struct%20fxos8700_data%20*pdata)%3CBR%20%2F%3E%20%5E~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~%3CBR%20%2F%3E.%2Finclude%2Flinux%2Fbuild_bug.h%3A29%3A45%3A%20error%3A%20negative%20width%20in%20bit-field%20'%3CANONYMOUS%3E'%3CBR%20%2F%3E%20%23define%20BUILD_BUG_ON_ZERO(e)%20(sizeof(struct%20%7B%20int%3A(-!!(e))%3B%20%7D))%3CBR%20%2F%3E%20%5E%3CBR%20%2F%3E.%2Finclude%2Flinux%2Fkernel.h%3A1033%3A3%3A%20note%3A%20in%20expansion%20of%20macro%20'BUILD_BUG_ON_ZERO'%3CBR%20%2F%3E%20BUILD_BUG_ON_ZERO((perms)%26amp%3B%202)%20%2B%20%5C%3CBR%20%2F%3E%20%5E~~~~~~~~~~~~~~~~%3CBR%20%2F%3E.%2Finclude%2Flinux%2Fsysfs.h%3A103%3A12%3A%20note%3A%20in%20expansion%20of%20macro%20'VERIFY_OCTAL_PERMISSIONS'%3CBR%20%2F%3E.mode%3D%20VERIFY_OCTAL_PERMISSIONS%20(_mode)%7D%2C%5C%20%5E~~~~~~~~~~~~~~~~~~~~~~~~~~~~~%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%2Finclude%2Flinux%2Fdevice.h%3A%20591%3A45%EF%BC%9A%E6%B3%A8%E6%84%8F%EF%BC%9A%E5%9C%A8%E6%89%A9%E5%B1%95%E5%AE%8F%20'__ATTR'%20%3CBR%20%2F%3E%20%E7%BB%93%E6%9E%84%E6%97%B6%20%E8%AE%BE%E5%A4%87_attribute%20dev_attr_%23%20%23_name%20%3D%20__ATTR%20(_name%E3%80%81_mode%E3%80%81_show%E3%80%81_store)%20%5E~~~~~%20%E9%A9%B1%E5%8A%A8%E5%99%A8%2Fmisc%2Ffxas2100x.c%3A%20462%3A8%EF%BC%9A%E6%B3%A8%E6%84%8F%EF%BC%9A%E5%9C%A8%E6%89%A9%E5%B1%95%20%E2%80%9CDEVICE_ATTR%E2%80%9D%20%E6%97%B6%EF%BC%8C%E9%9D%99%E6%80%81%20DEVICE_ATTR%20(poll_delay)%EF%BC%8C0666%EF%BC%8Cfxas2100x_poll_delay_show%EF%BC%8Cfxas2100x_poll_delay_store%EF%BC%89%EF%BC%9B%3CBR%20%2F%3E%5E~~~~~~~~~~~~%20%3CBR%20%2F%3E%20drivers%2Fmisc%2Ffxos8700.c%EF%BC%9A696%3A12%EF%BC%9A%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3Ewarning%3A%20'fxos8700_register_input_device'%20defined%20but%20not%20used%20%5B-Wunused-function%5D%3CBR%20%2F%3E%20static%20int%20fxos8700_register_input_device(struct%20fxos8700_data%20*pdata)%3CBR%20%2F%3E%20%5E~~~~~~~~~~~~~~~~~~~~~~~~~~~~~%3CBR%20%2F%3E.%2Finclude%2Flinux%2Fbuild_bug.h%3A29%3A45%3A%20error%3A%20negative%20width%20in%20bit-field%20'%3CANONYMOUS%3E'%3CBR%20%2F%3E%20%23define%20BUILD_BUG_ON_ZERO(e)%20(sizeof(struct%20%7B%20int%3A(-!!(e))%3B%20%7D))%3CBR%20%2F%3E%20%5E%3CBR%20%2F%3E.%2Finclude%2Flinux%2Fkernel.h%3A1033%3A3%3A%20note%3A%20in%20expansion%20of%20macro%20'BUILD_BUG_ON_ZERO'%3CBR%20%2F%3E%20BUILD_BUG_ON_ZERO((perms)%26amp%3B%202)%20%2B%20%5C%3CBR%20%2F%3E%20%5E~~~~~~~~~~~~~~~~%3CBR%20%2F%3E.%2Finclude%2Flinux%2Fsysfs.h%3A103%3A12%3A%20note%3A%20in%20expansion%20of%20macro%20'VERIFY_OCTAL_PERMISSIONS'%3CBR%20%2F%3E.mode%3D%20VERIFY_OCTAL_PERMISSIONS%20(_mode)%7D%2C%5C%20%5E~~~~~~~~~~~~~~~~~~~~~~~~~~~~~%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%2Finclude%2Flinux%2Fdevice.h%3A%20591%3A45%EF%BC%9A%E6%B3%A8%E6%84%8F%EF%BC%9A%E5%9C%A8%E6%89%A9%E5%B1%95%E5%AE%8F%20'__ATTR'%20%3CBR%20%2F%3E%20%E7%BB%93%E6%9E%84%E6%97%B6%20%E8%AE%BE%E5%A4%87_attribute%20dev_attr_%23%20%23_name%20%3D%20__ATTR%20(_name%E3%80%81_mode%E3%80%81_show%E3%80%81_store)%20%5E~~~~~%20%E9%A9%B1%E5%8A%A8%E5%99%A8%2Fmisc%2Ffxas2100x.c%3A%20464%3A8%EF%BC%9A%E6%B3%A8%E6%84%8F%EF%BC%9A%E5%9C%A8%E6%89%A9%E5%B1%95%20%E2%80%9CDEVICE_ATTR%E2%80%9D%20%E9%9D%99%E6%80%81%20DEVICE_ATTR%EF%BC%88%E4%BD%8D%E7%BD%AE%EF%BC%8C0666%EF%BC%89%EF%BC%8Cfxas2100x_position_show%EF%BC%8Cfxas2100x_position_store%EF%BC%89%EF%BC%9B%3CBR%20%2F%3E%5E~~~~~~~~~~~%20%3CBR%20%2F%3E%20drivers%2Fmisc%2Ffxos8700.c%3A%20682%3A12%EF%BC%9A%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3Ewarning%3A%20'fxos8700_unregister_sysfs_device'%20defined%20but%20not%20used%20%5B-Wunused-function%5D%3CBR%20%2F%3E%20static%20int%20fxos8700_unregister_sysfs_device(struct%20fxos8700_data%20*pdata)%3CBR%20%2F%3E%20%5E~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~%3CBR%20%2F%3E.%2Finclude%2Flinux%2Fbuild_bug.h%3A29%3A45%3A%20error%3A%20negative%20width%20in%20bit-field%20'%3CANONYMOUS%3E'%3CBR%20%2F%3E%20%23define%20BUILD_BUG_ON_ZERO(e)%20(sizeof(struct%20%7B%20int%3A(-!!(e))%3B%20%7D))%3CBR%20%2F%3E%20%5E%3CBR%20%2F%3E.%2Finclude%2Flinux%2Fkernel.h%3A1033%3A3%3A%20note%3A%20in%20expansion%20of%20macro%20'BUILD_BUG_ON_ZERO'%3CBR%20%2F%3E%20BUILD_BUG_ON_ZERO((perms)%26amp%3B%202)%20%2B%20%5C%3CBR%20%2F%3E%20%5E~~~~~~~~~~~~~~~~%3CBR%20%2F%3E.%2Finclude%2Flinux%2Fsysfs.h%3A103%3A12%3A%20note%3A%20in%20expansion%20of%20macro%20'VERIFY_OCTAL_PERMISSIONS'%3CBR%20%2F%3E.mode%3D%20VERIFY_OCTAL_PERMISSIONS%20(_mode)%7D%2C%5C%20%5E~~~~~~~~~~~~~~~~~~~~~~~~~~~~~%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%2Finclude%2Flinux%2Fdevice.h%3A%20591%3A45%EF%BC%9A%E6%B3%A8%E6%84%8F%EF%BC%9A%E5%9C%A8%E6%89%A9%E5%B1%95%E5%AE%8F%20%E2%80%9C__ATTR%E2%80%9D%20%3CBR%20%2F%3E%20%E7%BB%93%E6%9E%84%E6%97%B6%20device_attr_%23%20%23_name%20%3D%20__ATTR%EF%BC%88_name%E3%80%81_mode%E3%80%81_show%E3%80%81_store%EF%BC%89%5E~~~~~%E9%A9%B1%E5%8A%A8%E5%99%A8%2Fmisc%2Ffxas2100x.c%3A%20466%3A8%EF%BC%9A%E6%B3%A8%E6%84%8F%EF%BC%9A%E5%9C%A8%E6%89%A9%E5%B1%95%E5%AE%8F'DEVICE_ATTR'%E9%9D%99%E6%80%81%E8%AE%BE%E5%A4%87_ATTR%EF%BC%88%E6%95%B0%E6%8D%AE%EF%BC%8C06%3AATTR%EF%BC%8966%EF%BC%8Cfxas2100x_data_show%EF%BC%8CNULL%EF%BC%89%EF%BC%9B%3CBR%20%2F%3E%5E~~~~~~~~~~~~~~%20%3CBR%20%2F%3E%20%E9%A9%B1%E5%8A%A8%E7%A8%8B%E5%BA%8F%2Fmisc%2Ffxos8700.c%EF%BC%9A656%3A12%EF%BC%9A%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3Ewarning%3A%20'fxos8700_register_sysfs_device'%20defined%20but%20not%20used%20%5B-Wunused-function%5D%3CBR%20%2F%3E%20static%20int%20fxos8700_register_sysfs_device(struct%20fxos8700_data%20*pdata)%3CBR%20%2F%3E%20%5E~~~~~~~~~~~~~~~~~~~~~~~~~~~~~%3CBR%20%2F%3Edrivers%2Fmisc%2Ffxas2100x.c%3A503%3A22%3A%20error%3A%20expected%20'%3D'%2C%20'%2C'%2C%20'%3B'%2C%20'asm'%20or%20'__attribute__'%20before%20'fxas2100x_probe'%3CBR%20%2F%3E%20static%20int%20__devinit%20fxas2100x_probe(struct%20i2c_client%20*client%2C%3CBR%20%2F%3E%20%5E~~~~~~~~~~~~~~%3CBR%20%2F%3Edrivers%2Fmisc%2Ffxos8700.c%3A462%3A26%EF%BC%9Awarning%3A%20'fxos8700_mag_device'%20defined%20but%20not%20used%20%5B-Wunused-variable%5D%3CBR%20%2F%3E%20static%20struct%20miscdevice%20fxos8700_mag_device%20%3D%20%7B%3CBR%20%2F%3E%20%5E~~~~~~~~~~~~~~~~~~%3CBR%20%2F%3Edrivers%2Fmisc%2Ffxas2100x.c%3A595%3A22%3A%20error%3A%20expected%20'%3D'%2C%20'%2C'%2C%20'%3B'%2C%20'asm'%20or%20'__attribute__'%20before%20'fxas2100x_remove'%3CBR%20%2F%3E%20static%20int%20__devexit%20fxas2100x_remove(struct%20i2c_client%20*client)%3CBR%20%2F%3E%20%5E~~~~~~~~~~~~~~~%3CBR%20%2F%3Edrivers%2Fmisc%2Ffxos8700.c%3A456%3A26%EF%BC%9Awarning%3A%20'fxos8700_acc_device'%20defined%20but%20not%20used%20%5B-Wunused-variable%5D%3CBR%20%2F%3E%20static%20struct%20miscdevice%20fxos8700_acc_device%20%3D%20%7B%3CBR%20%2F%3E%20%5E~~~~~~~~~~~~~~~~~~%3CBR%20%2F%3Edrivers%2Fmisc%2Ffxos8700.c%3A187%3A12%EF%BC%9Awarning%3A%20'fxos8700_device_init'%20defined%20but%20not%20used%20%5B-Wunused-function%5D%3CBR%20%2F%3E%20static%20int%20fxos8700_device_init(struct%20i2c_client%20*client)%3CBR%20%2F%3E%20%5E~~~~~~~~~~~~~~~~~~~%3CBR%20%2F%3Edrivers%2Fmisc%2Ffxas2100x.c%3A647%3A12%3A%20error%3A%20'fxas2100x_probe'%20undeclared%20here%20(not%20in%20a%20function)%3B%20did%20you%20mean%20'fxas2100x_driver'%3F%3CBR%20%2F%3E.probe%3D%20fxas2100x_probe%2C%3CBR%20%2F%3E%20%5E~~~~~~~~~~~~~~%3CBR%20%2F%3E%20fxas2100x_driver%3CBR%20%2F%3Ecc1%3A%20%E4%B8%80%E4%BA%9B%E8%AD%A6%E5%91%8A%E8%A2%AB%E5%BD%93%E4%BD%9C%E9%94%99%E8%AF%AF%3CBR%20%2F%3Edrivers%2Fmisc%2Ffxas2100x.c%3A648%3A13%3A%20error%3A%20implicit%20declaration%20of%20function%20'__devexit_p'%3B%20did%20you%20mean%20'__exit_p'%3F%5B-Werror%3Dimplicit-function-declaration%5D%3CBR%20%2F%3E.remove%3D%20__devexit_p%20(fxas2100x_remove)%EF%BC%8C%5E~~~~~~~~~~~~%20__exit_p%20scripts%2Fmakefile.build%3A%20305%EF%BC%9A%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%E7%9B%AE%E6%A0%87%20%E2%80%9Cdrivers%2Fmisc%2Ffxos8700.o%E2%80%9D%20%E7%9A%84%E9%85%8D%E6%96%B9%3CBR%20%2F%3E%E5%88%B6%E4%BD%9C%E5%A4%B1%E8%B4%A5%20%5B2%5D%EF%BC%9A***%20%5Bdrivers%2Fmisc%2Ffxos8700.o%5D%20%E9%94%99%E8%AF%AF%201%20make%20%5B2%5D%EF%BC%9A***%20%E7%AD%89%E5%BE%85%E6%9C%AA%E5%AE%8C%E6%88%90%E7%9A%84%E4%BD%9C%E4%B8%9A...%20%3CBR%20%2F%3E%3CBR%20%2F%3Edrivers%2Fmisc%2Ffxas2100x.c%3A%20648%3A25%EF%BC%9A%E9%94%99%E8%AF%AF%EF%BC%9A%E6%AD%A4%E5%A4%84%E6%9C%AA%E5%A3%B0%E6%98%8E%20%E2%80%9Cfxas2100x_remove%E2%80%9D%EF%BC%88%E4%B8%8D%E5%9C%A8%E5%87%BD%E6%95%B0%E4%B8%AD%EF%BC%89%EF%BC%9B%E4%BD%A0%E7%9A%84%E6%84%8F%E6%80%9D%E6%98%AF%20%E2%80%9Cfxas2100x_resume%E2%80%9D%20%E5%90%97%EF%BC%9F%3CBR%20%2F%3E.%E7%A7%BB%E9%99%A4%3D%20__devexit_p%20(fxas2100x_remove)%EF%BC%8C%3CBR%20%2F%3E%5E~~~~~~~~~~~~~~~~~~~~~%20fxas2100x_%20%3CBR%20%2F%3E%20resume%20%E9%A9%B1%E5%8A%A8%E7%A8%8B%E5%BA%8F%2Fmisc%2Ffxas2100x%20%3CBR%20%2F%3E%20.c%3A%20481%3A20%EF%BC%9A%E8%AD%A6%E5%91%8A%EF%BC%9A'fxas2100x_irq_handler%20'%E5%B7%B2%E5%AE%9A%E4%B9%89%E4%BD%86%E6%9C%AA%E4%BD%BF%E7%94%A8%20%5B-wunused-Function%5D%20%E9%9D%99%E6%80%81%20irqreturn_t%20fxas2100x_irq_handler%20(int%20irq%EF%BC%8Cvoid%20*dev)%20%5E~~~~~~~~~~~~~~~~~~~~%20%E9%A9%B1%E5%8A%A8%E7%A8%8B%E5%BA%8F%2Fmisc%2Ffxas2100x.c%3A%20370%3A26%EF%BC%9A%E8%AD%A6%E5%91%8A%EF%BC%9A%E2%80%9Cfxas2100x_device%E2%80%9D%20%E5%B7%B2%E5%AE%9A%E4%B9%89%E4%BD%86%E6%9C%AA%E4%BD%BF%E7%94%A8%20%5B-Wunused-Variable%5D%20%3CBR%20%2F%3E%20%E9%9D%99%E6%80%81%E7%BB%93%E6%9E%84%20miscdevice%20fxas2100x.c%20%3D%20%7B%5E~~~~~~~~~~~~~~~7%3A~~~~~~~%20drivers%2Fmisc%2Ffxas2100x.c%3A%2013x.c%3A%2013x.c%3A%2013x.c%3A%2013x.c%2012%EF%BC%9A%E8%AD%A6%E5%91%8A%EF%BC%9A%E2%80%9Cfxas2100x_device_init%E2%80%9D%20%E5%B7%B2%E5%AE%9A%E4%B9%89%E4%BD%86%E6%9C%AA%E4%BD%BF%E7%94%A8%20%5B-Wunused%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E-function%5D%20%3CBR%20%2F%3E%20%E9%9D%99%E6%80%81%E6%95%B4%E6%95%B0%20fxas2100x_device_init%20(struct%20i2c_client%20*client)%20%5E~~~~~~~~~~~~~~~~~~~~~~~~~~~~%20cc1%EF%BC%9A%E8%84%9A%E6%9C%AC%2FMakefile.%E7%89%88%E6%9C%AC%3A%20305%EF%BC%9A%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%E7%9B%AE%E6%A0%87%20%E2%80%9Cdrivers%2Fmisc%2Ffxas2100x.o%E2%80%9D%20%E7%9A%84%E9%85%8D%E6%96%B9%E5%A4%B1%E8%B4%A5%3CBR%20%2F%3E%20make%20%5B2%5D%3A%20***%20%5Bdrivers%2Fmisc%2Ffxas2100x.o%5D%20%E9%94%99%E8%AF%AF%201%3CBR%20%2F%3E%20scripts%2FMakefile.%E7%89%88%E6%9C%AC%3A%20546%3A%E7%9B%AE%E6%A0%87%20%E2%80%9C%E9%A9%B1%E5%8A%A8%E7%A8%8B%E5%BA%8F%2F%E6%9D%82%E9%A1%B9%E2%80%9D%20%E7%9A%84%E9%85%8D%E6%96%B9%E5%A4%B1%E8%B4%A5%20m%20%3CBR%20%2F%3E%20ake%20%5B1%5D%EF%BC%9A***%20%5Bdrivers%2Fmisc%5D%20%E9%94%99%E8%AF%AF%202%20m%20%3CBR%20%2F%3E%20ake%20%5B1%5D%EF%BC%9A***%20%E7%AD%89%E5%BE%85%E6%9C%AA%E5%AE%8C%E6%88%90%E7%9A%84%E4%BD%9C%E4%B8%9A...%3CBR%20%2F%3EMakefile%3A%201052%EF%BC%9A%E7%9B%AE%E6%A0%87%20%E2%80%9C%E9%A9%B1%E5%8A%A8%E7%A8%8B%E5%BA%8F%E2%80%9D%20%E9%85%8D%E6%96%B9%E5%A4%B1%E8%B4%A5%20make%3A%20***%20%5B%3CBR%20%2F%3Edrivers%5D%20%E9%94%99%E8%AF%AF%202%3C%2FANONYMOUS%3E%3C%2FANONYMOUS%3E%3C%2FANONYMOUS%3E%3C%2FANONYMOUS%3E%3C%2FANONYMOUS%3E%3C%2FANONYMOUS%3E%3C%2FANONYMOUS%3E%3C%2FANONYMOUS%3E%3C%2FANONYMOUS%3E%3C%2FP%3E%3C%2FBLOCKQUOTE%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-841675%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3E%E5%8A%A0%E9%80%9F%E5%BA%A6%E4%BC%A0%E6%84%9F%E5%99%A8%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3E%E9%99%80%E8%9E%BA%E4%BB%AA%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3E%E7%A3%81%E5%8A%9B%E4%BC%A0%E6%84%9F%E5%99%A8%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-841676%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Problem%20width%20linux%20driver%20for%20fxos8700%2Ffxas2100x%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-841676%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%26lt%3Bmeta%20http-equiv%3D%22Content-Type%22%20content%3D%22text%2Fhtml%3B%20charset%3Dutf-8%22%20%2F%26gt%3B%0A%3CP%3E%E4%BF%AE%E5%A4%8D%E4%BA%86%E9%A9%B1%E5%8A%A8%E7%A8%8B%E5%BA%8F%EF%BC%8C%E7%8E%B0%E5%9C%A8%E5%AE%83%E4%BB%AC%E5%B7%B2%E8%A2%AB%E7%BC%96%E8%AF%91%E3%80%82%E5%A6%82%E6%9E%9C%E6%9C%89%E4%BA%BA%E9%81%87%E5%88%B0%E5%90%8C%E6%A0%B7%E7%9A%84%E9%97%AE%E9%A2%98%EF%BC%9A%3C%2FP%3E%3C%2FLINGO-BODY%3E