]> git.baikalelectronics.ru Git - kernel.git/commit
of: make of_node_check_flag() device_node parameter const
authorNathan Lynch <nathanl@linux.ibm.com>
Thu, 14 Oct 2021 17:30:55 +0000 (12:30 -0500)
committerRob Herring <robh@kernel.org>
Wed, 20 Oct 2021 18:37:25 +0000 (13:37 -0500)
commit326aad3225b9d39418845888110948b11ae3dd23
tree7e3d6b5415c037c27f92235ca44207f719799cd8
parent8ee8d96a1a0a72e0a5fe462a2b99138b3c378dce
of: make of_node_check_flag() device_node parameter const

The device_node argument isn't modified by of_node_check_flag(), so mark it
const.

Signed-off-by: Nathan Lynch <nathanl@linux.ibm.com>
Link: https://lore.kernel.org/r/20211014173055.2117872-1-nathanl@linux.ibm.com
Signed-off-by: Rob Herring <robh@kernel.org>
include/linux/of.h