Move qdss sysfs file definition from target folder to common

This CL fixes the compilation issue due to missing definition
of sysfs_qdss_dev on target other than msmnile. Also fix some
warning while I am here.

Change-Id: I3bc035f13fb0fe13650dac3c2d4b022e789d9f7b
This commit is contained in:
Biswajit Paul
2019-02-06 16:13:34 -08:00
parent e8e7e08cf2
commit 3a9b15b59f
3 changed files with 4 additions and 2 deletions

View File

@@ -167,3 +167,6 @@ type hal_neuralnetworks_data_file, file_type, data_file_type;
type vendor_bt_data_file, file_type, data_file_type;
type sysfs_usb_controller, sysfs_type, fs_type;
#for qdss
type sysfs_qdss_dev, sysfs_type, fs_type;

View File

@@ -25,5 +25,4 @@
# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
type sysfs_qdss_dev, sysfs_type, fs_type;
type sysfs_mhi, sysfs_type, fs_type;

View File

@@ -49,7 +49,7 @@ allow vendor_cvp qdsp_device:chr_file rw_file_perms;
allow vendor_cvp dsp_device:chr_file rw_file_perms;
# Access for sdcard
userdebug_or_eng('
userdebug_or_eng(`
allow vendor_cvp sdcard_type:dir rw_dir_perms;
allow vendor_cvp sdcard_type:file create_file_perms;
')