From 1b4b3b918bc468ca404b22894af3226a77fdd644 Mon Sep 17 00:00:00 2001
From: dcashman <dcashman@google.com>
Date: Thu, 21 May 2015 10:03:16 -0700
Subject: [PATCH] Expand rtc_device label to match all rtc class drivers.

/dev/rtc0 is not the only possible rtc device node, make sure all are given the
rtc_device label.

Change-Id: I50d15aa62e87509e940acd168474433803b2115d
---
 file_contexts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/file_contexts b/file_contexts
index 689cc4833..cc152f661 100644
--- a/file_contexts
+++ b/file_contexts
@@ -77,7 +77,7 @@
 /dev/random		u:object_r:random_device:s0
 /dev/rpmsg-omx[0-9]	u:object_r:rpmsg_device:s0
 /dev/rproc_user	u:object_r:rpmsg_device:s0
-/dev/rtc0           u:object_r:rtc_device:s0
+/dev/rtc[0-9]      u:object_r:rtc_device:s0
 /dev/snd(/.*)?		u:object_r:audio_device:s0
 /dev/socket(/.*)?	u:object_r:socket_device:s0
 /dev/socket/adbd	u:object_r:adbd_socket:s0
-- 
GitLab