From 4594b49766eff8cf43c62e36a5eb4f34e88f70b4 Mon Sep 17 00:00:00 2001 From: mgross Date: Mon, 18 Jul 2011 14:52:36 -0700 Subject: [PATCH] fix poortly maintained compass driver from google Change-Id: I315924931144545e9c1aff043c7b81114f0b13ee --- drivers/misc/akm8975.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/misc/akm8975.c b/drivers/misc/akm8975.c index 830d289..ec7ce60 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, + .compat_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, + .compat_ioctl = akm_aot_ioctl, }; static struct miscdevice akm_aot_device = { -- 2.7.4