diff options
author | Mursalin Akon <makon@nvidia.com> | 2011-09-14 13:20:04 -0700 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2011-11-30 21:52:27 -0800 |
commit | 77ab961c1b2dbe1f3679d88390e38a99c3d13f53 (patch) | |
tree | 2a3fe278ceb34b1fd93d5ea1e185430e20c40cd6 /drivers/misc | |
parent | 56e67720a3fa5e9c7d576bc30f471b20d2d8d2da (diff) |
misc: sensor: AK8975 fix compilation error
The update is based on 2.6.36 code line. It fixes compilation
error.
Bug 877219
Change-Id: I31769438e16a6405d3868bdc1fef1092bc6cc36f
Signed-off-by: Mursalin Akon <makon@nvidia.com>
Reviewed-on: http://git-master/r/52463
Reviewed-by: Allen Martin <amartin@nvidia.com>
Rebase-Id: Rcea57c2b2c7ffd179ee7ecd0c1896c9531c03a88
Diffstat (limited to 'drivers/misc')
-rw-r--r-- | drivers/misc/akm8975.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/misc/akm8975.c b/drivers/misc/akm8975.c index 830d2897afd6..aef7985d4ce4 100644 --- a/drivers/misc/akm8975.c +++ b/drivers/misc/akm8975.c @@ -537,14 +537,14 @@ static const struct file_operations akmd_fops = { .owner = THIS_MODULE, .open = akmd_open, .release = akmd_release, - .ioctl = akmd_ioctl, + .unlocked_ioctl = akmd_ioctl, }; static const struct file_operations akm_aot_fops = { .owner = THIS_MODULE, .open = akm_aot_open, .release = akm_aot_release, - .ioctl = akm_aot_ioctl, + .unlocked_ioctl = akm_aot_ioctl, }; static struct miscdevice akm_aot_device = { |