microblaze: Fix the heartbeat gpio to be more robust
authorJohn Linn <john.linn@xilinx.com>
Fri, 5 Jun 2009 17:36:31 +0000 (11:36 -0600)
committerMichal Simek <monstr@monstr.eu>
Mon, 14 Dec 2009 07:45:03 +0000 (08:45 +0100)
commit6d858535be59b220c0f8dc335e030c2e3f3a3032
tree6760484ac9aaaf867a3889886ed178479783d792
parent95dfbbe4700016bddd7e8915e95a97652e70f495
microblaze: Fix the heartbeat gpio to be more robust

The device tree handling for the gpio in the heart beat was not handling
the system when there was no gpio and it wasn't working with a newer version
of the gpio core which does not have the is-bidir property.

Signed-off-by: John Linn <john.linn@xilinx.com>
Signed-off-by: Michal Simek <monstr@monstr.eu>
arch/microblaze/kernel/heartbeat.c