commit | 557dca5f48a45df88a73e69ee0700cfd4e2358c9 | [log] [tgz] |
---|---|---|
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | Sun Jul 05 22:39:08 2009 +0100 |
committer | Russell King <rmk+kernel@arm.linux.org.uk> | Sun Jul 05 22:39:08 2009 +0100 |
tree | a84d89d63e5b3a3bf72bbf7aaa0ac907ec5ce6a5 | |
parent | 65b1bfc13e8f50034187e339aa12b81cd6785bd5 [diff] |
[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: Russell King <rmk+kernel@arm.linux.org.uk>