This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/cgit.cgi/media_tree.git tree:

Subject: [media] media: rc: constify struct proto_names
Author:  Heiner Kallweit <[email protected]>
Date:    Mon Nov 16 17:52:17 2015 -0200

Declare struct proto_names and its member name as const.

Signed-off-by: Heiner Kallweit <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>

 drivers/media/rc/rc-main.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

---

http://git.linuxtv.org/cgit.cgi/media_tree.git/commit/?id=53df87771715d6a68013be404350074bec9ad8db

diff --git a/drivers/media/rc/rc-main.c b/drivers/media/rc/rc-main.c
index ba5df4b..9d05d03 100644
--- a/drivers/media/rc/rc-main.c
+++ b/drivers/media/rc/rc-main.c
@@ -777,9 +777,9 @@ static struct class rc_class = {
  * used by the sysfs protocols file. Note that the order
  * of the entries is relevant.
  */
-static struct {
+static const struct {
        u64     type;
-       char    *name;
+       const char      *name;
        const char      *module_name;
 } proto_names[] = {
        { RC_BIT_NONE,          "none",         NULL                    },

_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to