firewire: core: prepare for non-core children of card devices
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Sat, 6 Jun 2009 16:37:25 +0000 (18:37 +0200)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Sat, 6 Jun 2009 19:45:50 +0000 (21:45 +0200)
commit099d54143e49d49c33cd25779ca725191df59b73
tree8237acfc84aa5057ce8c98b1301b6d54cf056ba0
parente034d242593f12533c11742ce38c245a33e57dc7
firewire: core: prepare for non-core children of card devices

The IP-over-1394 driver will add child devices beneath card devices
which are not of type fw_device.  Hence firewire-core's callbacks in
device_for_each_child() and device_find_child() need to check for the
device type now.

Initial version written by Jay Fenlason.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/firewire/core-card.c
drivers/firewire/core-device.c
drivers/firewire/core.h