summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ux500/timer.c
diff options
context:
space:
mode:
authorLee Jones2012-07-05 16:15:36 +0200
committerArnd Bergmann2012-07-06 21:42:10 +0200
commit84774e615749acfce6b2f679b95924dffb5f5de1 (patch)
treeb1a89607c0bff651296f8217f4b242c139bdd548 /arch/arm/mach-ux500/timer.c
parentLinux 3.5-rc5 (diff)
downloadkernel-qcow2-linux-84774e615749acfce6b2f679b95924dffb5f5de1.tar.gz
kernel-qcow2-linux-84774e615749acfce6b2f679b95924dffb5f5de1.tar.xz
kernel-qcow2-linux-84774e615749acfce6b2f679b95924dffb5f5de1.zip
of: address: Don't fail a lookup just because a node has no reg property
Sometimes it doesn't make any sense for a node to have an address. In this case device lookup will always be unsuccessful because we currently assume every node will have a reg property. This patch changes the semantics so that the resource address and the lookup address will only be compared if one exists. Things like AUXDATA() rely on of_dev_lookup to return the lookup entry of a particular device in order to do things like apply platform_data to a device. However, this is currently broken for nodes which do not have a reg property, meaning that platform_data can not be passed in those cases. Acked-by: Rob Herring <rob.herring@calxeda.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'arch/arm/mach-ux500/timer.c')
0 files changed, 0 insertions, 0 deletions