From 9a52eda8c5dd9df763a63f9b71cd24847f014737 Mon Sep 17 00:00:00 2001 From: Iliyan Malchev Date: Thu, 25 Jun 2009 16:47:31 -0700 Subject: [PATCH] init: set permissions for akm8973 and bma150 drivers akm8973 is the compass bma150 is the accelerometer Signed-off-by: Iliyan Malchev --- init/devices.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/init/devices.c b/init/devices.c index 880536c4a..9b341d6be 100644 --- a/init/devices.c +++ b/init/devices.c @@ -118,6 +118,9 @@ static struct perms_ devperms[] = { { "/dev/msm_camera/", 0660, AID_SYSTEM, AID_SYSTEM, 1 }, { "/dev/akm8976_daemon",0640, AID_COMPASS, AID_SYSTEM, 0 }, { "/dev/akm8976_aot", 0640, AID_COMPASS, AID_SYSTEM, 0 }, + { "/dev/akm8973_daemon",0640, AID_COMPASS, AID_SYSTEM, 0 }, + { "/dev/akm8973_aot", 0640, AID_COMPASS, AID_SYSTEM, 0 }, + { "/dev/bma150", 0640, AID_COMPASS, AID_SYSTEM, 0 }, { "/dev/akm8976_pffd", 0640, AID_COMPASS, AID_SYSTEM, 0 }, { "/dev/msm_pcm_out", 0660, AID_SYSTEM, AID_AUDIO, 1 }, { "/dev/msm_pcm_in", 0660, AID_SYSTEM, AID_AUDIO, 1 },