]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: chrp: Use of_node_is_type to access device_type
authorRob Herring <robh@kernel.org>
Fri, 18 Jan 2019 14:12:10 +0000 (08:12 -0600)
committerRob Herring <robh@kernel.org>
Sat, 19 Jan 2019 16:35:42 +0000 (10:35 -0600)
commitc5dec94c03e5e42489c0ae219900953441ca3be2
tree42f77adc19c9be38a5754e865bbc03e2b2ed9e1a
parent8cb15af4b341cd8ecae4cb6064a14855dfe17c73
powerpc: chrp: Use of_node_is_type to access device_type

Commit 06c430200120 ("of: Remove struct device_node.type pointer")
removed struct device_node.type pointer, but the conversion to use
of_node_is_type() accessor was missed in chrp_init_IRQ().

Fixes: 06c430200120 ("of: Remove struct device_node.type pointer")
Reported-by: kbuild test robot <lkp@intel.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: linuxppc-dev@lists.ozlabs.org
Acked-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Rob Herring <robh@kernel.org>
arch/powerpc/platforms/chrp/setup.c