lkml.org 
[lkml]   [2017]   [Aug]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] sparc: leon: grpci1: constify of_device_id
From
From: Arvind Yadav <arvind.yadav.cs@gmail.com>
Date: Sat, 26 Aug 2017 16:58:48 +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.

\
 
 \ /
  Last update: 2017-08-29 00:50    [W:0.064 / U:0.236 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site