OpenCloudOS-Kernel/drivers/of
Michael Ellerman 1e291b14c8 of: Add helpers for finding device nodes which have a given property
This commit adds a routine for finding a device node which has a
certain property.  The contents of the property are not taken into
account, merely the presence or absence of the property.

Based on that routine, we add a for_each_ macro for iterating over all
nodes that have a certain property.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2008-11-19 16:05:00 +11:00
..
Kconfig spi: Add OF binding support for SPI busses 2008-07-25 22:34:40 -04:00
Makefile spi: Add OF binding support for SPI busses 2008-07-25 22:34:40 -04:00
base.c of: Add helpers for finding device nodes which have a given property 2008-11-19 16:05:00 +11:00
device.c OF-device: Don't overwrite numa_node in device registration 2008-10-31 16:12:01 +11:00
gpio.c of: Add new helper of_parse_phandles_with_args() 2008-10-13 10:55:47 +11:00
of_i2c.c of: Format string bug in drivers/of/of_i2c.c 2008-10-21 15:17:49 +11:00
of_spi.c of/spi: Support specifying chip select as active high via device tree 2008-10-20 23:34:01 -05:00
platform.c [POWERPC] Create modalias file in sysfs for of_platform bus 2008-05-14 22:31:28 +10:00