]> git.baikalelectronics.ru Git - kernel.git/commit
checkpatch: add of_device_id to structs that should be const
authorJoe Perches <joe@perches.com>
Fri, 13 Feb 2015 22:39:05 +0000 (14:39 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 14 Feb 2015 05:21:40 +0000 (21:21 -0800)
commit4dad83bd3ca9bc629da4af16b4f0f7702ed8ba1d
treefb608e409b321504e831d79bb40ff327bb0e1827
parent85f35317de6e1dab694017a426c59300633ab9b1
checkpatch: add of_device_id to structs that should be const

Uses of struct of_device_id are most commonly const.

Suggest using it as such.

Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl