]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4a7c23ad4e4eb63bff7ff0ddd1ff232763d366db
treea2c958b4bd303c88320650d4e8251e0aba64ef91
parent347c5bfa953584a116a2bea5b116ae3bc855de19
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