powerpc: Check device status before adding serial device
authorPrabhakar Kushwaha <prabhakar@freescale.com>
Wed, 6 Apr 2011 07:26:29 +0000 (12:56 +0530)
committerKumar Gala <galak@kernel.crashing.org>
Tue, 12 Apr 2011 11:29:21 +0000 (06:29 -0500)
commit07d9fce24d871785dbd25458469032fea73f17b8
tree9888253d34e3206c4a07e83d4a17ea4162724e6b
parentef1fd2df85f5ea8ca8876a45d0ebb152d3a144d1
powerpc: Check device status before adding serial device

serial port nodes with the property status="disabled" are not usable and so
avoid adding "disabled" port with the system.

Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/kernel/legacy_serial.c