Skip to content
Commit 557dca5f authored by Russell King's avatar Russell King Committed by Russell King
Browse files

[ARM] amba: fix amba device resources



AMBA device resources were being reported as:

10004000-10004fff : <BAD>

This is because dev_name() was returning NULL prior to device_register.
Ensure that the struct device is properly initialized, and the name is
set before adding it to the device tree.

Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 65b1bfc1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment