]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit62d34dd7f6dc9109ea2a6931cf2842e84b4a379c
tree8237acfc84aa5057ce8c98b1301b6d54cf056ba0
parent049d9ed21925fbc4144006d0960c8acab42ef34f
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