]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
dm: cpu: Test against cpu_ops->get_info in cpu_get_info()
authorBin Meng <bmeng.cn@gmail.com>
Fri, 12 Jun 2015 06:52:19 +0000 (14:52 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Wed, 9 Sep 2015 11:29:22 +0000 (13:29 +0200)
commita9c2af4e3bc98283a12e995ef6d39f153539f4b8
tree87a1083aa859a1075e3a731e0c89ce7cbba77063
parentffccc6f3cfb2c09f16a9281c8cdc80f7d782109c
dm: cpu: Test against cpu_ops->get_info in cpu_get_info()

In cpu_get_info() it wrongly tests against cpu_ops->get_desc to see
if it is NULL. It should test against cpu_ops->get_info.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
drivers/cpu/cpu-uclass.c