summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIliyan Malchev2009-06-25 18:47:31 -0500
committerIliyan Malchev2009-06-25 18:47:31 -0500
commit9a52eda8c5dd9df763a63f9b71cd24847f014737 (patch)
tree7a605fe8fff5aeec539207f39ecdeed85b143df7 /init/devices.c
parent715c03a10b825dc7cae78f8a6da7a8956beefb8d (diff)
downloadplatform-system-core-9a52eda8c5dd9df763a63f9b71cd24847f014737.tar.gz
platform-system-core-9a52eda8c5dd9df763a63f9b71cd24847f014737.tar.xz
platform-system-core-9a52eda8c5dd9df763a63f9b71cd24847f014737.zip
init: set permissions for akm8973 and bma150 drivers
akm8973 is the compass bma150 is the accelerometer Signed-off-by: Iliyan Malchev <malchev@google.com>
Diffstat (limited to 'init/devices.c')
-rw-r--r--init/devices.c3
1 files changed, 3 insertions, 0 deletions
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[] = {
118 { "/dev/msm_camera/", 0660, AID_SYSTEM, AID_SYSTEM, 1 }, 118 { "/dev/msm_camera/", 0660, AID_SYSTEM, AID_SYSTEM, 1 },
119 { "/dev/akm8976_daemon",0640, AID_COMPASS, AID_SYSTEM, 0 }, 119 { "/dev/akm8976_daemon",0640, AID_COMPASS, AID_SYSTEM, 0 },
120 { "/dev/akm8976_aot", 0640, AID_COMPASS, AID_SYSTEM, 0 }, 120 { "/dev/akm8976_aot", 0640, AID_COMPASS, AID_SYSTEM, 0 },
121 { "/dev/akm8973_daemon",0640, AID_COMPASS, AID_SYSTEM, 0 },
122 { "/dev/akm8973_aot", 0640, AID_COMPASS, AID_SYSTEM, 0 },
123 { "/dev/bma150", 0640, AID_COMPASS, AID_SYSTEM, 0 },
121 { "/dev/akm8976_pffd", 0640, AID_COMPASS, AID_SYSTEM, 0 }, 124 { "/dev/akm8976_pffd", 0640, AID_COMPASS, AID_SYSTEM, 0 },
122 { "/dev/msm_pcm_out", 0660, AID_SYSTEM, AID_AUDIO, 1 }, 125 { "/dev/msm_pcm_out", 0660, AID_SYSTEM, AID_AUDIO, 1 },
123 { "/dev/msm_pcm_in", 0660, AID_SYSTEM, AID_AUDIO, 1 }, 126 { "/dev/msm_pcm_in", 0660, AID_SYSTEM, AID_AUDIO, 1 },