Check for NULL before calling device_match()

It matters for multifunction devices who don't have siblings.

The error in the rumba device tree created that situation.

Signed-off-by: Myles Watson <mylesgw@gmail.com>
Acked-by: Myles Watson <mylesgw@gmail.com>


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5628 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
1 file changed
tree: 45d497612c62834b0578db869ed9d1ed6573bdcf
  1. documentation/
  2. payloads/
  3. src/
  4. util/
  5. COPYING
  6. Makefile
  7. README