Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1722037
| From | David Miller <davem@davemloft.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] sparc: leon: grpci2: constify of_device_id |
| Date | 2017-08-29 00:50 +0200 |
| Message-ID | <ujB0Z-2TO-3@gated-at.bofh.it> (permalink) |
| References | <uiHrQ-yx-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
From: Arvind Yadav <arvind.yadav.cs@gmail.com> Date: Sat, 26 Aug 2017 16:58:34 +0530 > of_device_id are not supposed to change at runtime. All functions > working with of_device_id provided by <linux/of.h> work with const > of_device_ids. So mark the const and __initconst. > > Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com> Applied.
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] sparc: leon: grpci2: constify of_device_id Arvind Yadav <arvind.yadav.cs@gmail.com> - 2017-08-26 13:30 +0200
[PATCH] sparc: leon: grpci1: constify of_device_id Arvind Yadav <arvind.yadav.cs@gmail.com> - 2017-08-26 13:30 +0200
Re: [PATCH] sparc: leon: grpci1: constify of_device_id David Miller <davem@davemloft.net> - 2017-08-29 00:50 +0200
Re: [PATCH] sparc: leon: grpci2: constify of_device_id David Miller <davem@davemloft.net> - 2017-08-29 00:50 +0200
csiph-web