[POWERPC] Add a check for keyboard/mouse device nodes in check_legacy_ioport()
authorWade Farnsworth <wfarnsworth@mvista.com>
Wed, 20 Jun 2007 00:15:10 +0000 (10:15 +1000)
committerPaul Mackerras <paulus@samba.org>
Tue, 10 Jul 2007 11:53:49 +0000 (21:53 +1000)
commitdb0dbae9d9680bce69fe1ce775709e60c8ee9c29
tree50327293d3b9620f25fe00e086bdb25b49c56cbf
parent6a281856c02d2291df2f7d9df5bfdee2e7bdd747
[POWERPC] Add a check for keyboard/mouse device nodes in check_legacy_ioport()

The device tree for the MPC8641 HPCN does not implement the device type
property for I8042 nodes.

In addition to checking the I8042 node's device type, also match the
keyboard and/or mouse nodes' compatible property.

Signed-off-by: Wade Farnsworth <wfarnsworth@mvista.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/setup-common.c