From c0ac513d46901db29c02b1dfdfc7238ea7375b29 Mon Sep 17 00:00:00 2001 From: Jia-Hua Yang Date: Sat, 18 Jan 2020 10:17:49 +0800 Subject: [PATCH] [ALPS04668607] NLO: Add define for nlop device Add define for nlop device. MTK-Commit-Id: 1312261b0c1b3c20ea8f2d6259e4b46257dc947f Change-Id: Iee00cf9779af3455ff0235fe5482d41b0d7cb8da CR-Id: ALPS04668607 Feature: Network Latency Optimization --- non_plat/device.te | 1 + non_plat/file_contexts | 1 + 2 files changed, 2 insertions(+) diff --git a/non_plat/device.te b/non_plat/device.te index ce0139a..a4addd9 100644 --- a/non_plat/device.te +++ b/non_plat/device.te @@ -173,6 +173,7 @@ type otp_device, dev_type; type otp_part_block_device, dev_type; type qemu_pipe_device, dev_type; type icusb_device, dev_type; +type nlop_device, dev_type; type irtx_device, dev_type; type pmic_ftm_device, dev_type; type charger_ftm_device, dev_type; diff --git a/non_plat/file_contexts b/non_plat/file_contexts index f3de80b..1805fa7 100644 --- a/non_plat/file_contexts +++ b/non_plat/file_contexts @@ -314,6 +314,7 @@ /dev/ttyC1 u:object_r:mdlog_device:s0 /dev/ttyC2 u:object_r:agps_device:s0 /dev/ttyC3 u:object_r:icusb_device:s0 +/dev/ttyC6 u:object_r:nlop_device:s0 /dev/ttyGS.* u:object_r:ttyGS_device:s0 /dev/ttyMT.* u:object_r:ttyMT_device:s0 /dev/ttyS.* u:object_r:ttyS_device:s0