Check for NULL before calling device_match()
authorMyles Watson <mylesgw@gmail.com>
Thu, 10 Jun 2010 04:06:52 +0000 (04:06 +0000)
committerMyles Watson <mylesgw@gmail.com>
Thu, 10 Jun 2010 04:06:52 +0000 (04:06 +0000)
commit1965a237124cc8e988cf760eb7e9a61efb2adabb
tree45d497612c62834b0578db869ed9d1ed6573bdcf
parent7a60c37c9346b9f9ba9aa623d10c052c6df5a5f7
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
util/sconfig/main.c