Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1679857

Re: [PATCH] sparc: kernel: pmc: make of_device_ids const.

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH] sparc: kernel: pmc: make of_device_ids const.
Date 2017-07-03 12:00 +0200
Message-ID <tZ6j8-7MN-33@gated-at.bofh.it> (permalink)
References <tWUP7-6Rd-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Arvind Yadav <arvind.yadav.cs@gmail.com>
Date: Tue, 27 Jun 2017 14:39:58 +0530

> of_device_ids are not supposed to change at runtime. All functions
> working with of_device_ids provided by <linux/of.h> work with const
> of_device_ids. So mark the non-const structs as const.
> 
> Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>

Applied.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] sparc: kernel: pmc: make of_device_ids const. Arvind Yadav <arvind.yadav.cs@gmail.com> - 2017-06-27 11:20 +0200
  Re: [PATCH] sparc: kernel: pmc: make of_device_ids const. David Miller <davem@davemloft.net> - 2017-07-03 12:00 +0200

csiph-web