sensors: sensorhub_brcm: fix for compatibility 21/85621/1
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Fri, 26 Aug 2016 07:04:31 +0000 (16:04 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Fri, 26 Aug 2016 07:11:29 +0000 (16:11 +0900)
commitcc9f630bca7b014dfbaa27fc05ba07d83e895210
tree9a17e87ea925a023d9a03da1abaf06e115886e59
parentf6da058a9a8e77ce1b5ccf500a391bae3f6e1b6a
sensors: sensorhub_brcm: fix for compatibility

For 32bit compatibility, compat_ioctl should be registered. Also,
32bit built IOCTL value is different from 64bit, then it should be
considered. So this fixes for compatibility with compat_ioctl.

Change-Id: I11c353d4cd39a8ef5014f2b9b2d1f504fda86182
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
drivers/sensors/brcm/bbdpl2/bcm_gps_i2c.c
drivers/sensors/brcm/gps/sec_gps_bcm47531.c
drivers/sensors/brcm/ssp_sensorhub.c
drivers/sensors/brcm/ssp_sensorhub.h
drivers/sensors/brcm/ssp_sysfs.c