]> git.baikalelectronics.ru Git - kernel.git/commit
dmi: Fix build breakage
authorKumar Gala <galak@kernel.crashing.org>
Wed, 28 Jan 2009 06:07:20 +0000 (00:07 -0600)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 28 Jan 2009 15:50:14 +0000 (07:50 -0800)
commit289faca6ccbc0bdd500c43fafdabb5adf3980662
treea1dbd71a8d3d087344e94a2cb819807d2b93bd51
parent0e5889fcd1caf41191677562c71a3be267a3098f
dmi: Fix build breakage

Commit b5f34b5b9e4decb9f95f5949cd1e95b7add782a9 ("DMI: Introduce
dmi_first_match to make the interface more flexible") introduced compile
errors like the following when !CONFIG_DMI

    drivers/ata/sata_sil.c: In function 'sil_broken_system_poweroff':
    drivers/ata/sata_sil.c:713: error: implicit declaration of function 'dmi_first_match'
    drivers/ata/sata_sil.c:713: warning: initialization makes pointer from integer without a cast

We just need a dummy version of dmi_first_match() to fix this all up.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/dmi.h