of/device: Don't register disabled devices
authorGrant Likely <grant.likely@secretlab.ca>
Mon, 3 Jan 2011 22:51:11 +0000 (15:51 -0700)
committerGrant Likely <grant.likely@secretlab.ca>
Mon, 3 Jan 2011 23:02:49 +0000 (16:02 -0700)
commitcd1e65044d4473cca9a01bae7b7938f065044a4b
treea2c958b4bd303c88320650d4e8251e0aba64ef91
parent6bd121e2d4dcabb145d390a7131ec83102dfb838
of/device: Don't register disabled devices

Device nodes with the property status="disabled" are not usable and so
don't register them when parsing the device tree for devices.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Cc: Hollis Blanchard <hollis_blanchard@mentor.com>
Cc: Deepak Saxena <deepak_saxena@mentor.com>
Cc: Scott Wood <scottwood@freescale.com>,
Cc: David Gibson <david@gibson.dropbear.id.au>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
drivers/of/platform.c