https://github.com/torvalds/linux
Revision d8204ee2ad1c9babd7e33d4c118ec99a78a8442e authored by Kumar Gala on 28 January 2009, 06:07:20 UTC, committed by Linus Torvalds on 28 January 2009, 15:50:14 UTC
Commit d7b1956fed33d30c4815e848fd7a143722916868 ("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>
1 parent 30b2363
History
Tip revision: d8204ee2ad1c9babd7e33d4c118ec99a78a8442e authored by Kumar Gala on 28 January 2009, 06:07:20 UTC
dmi: Fix build breakage
Tip revision: d8204ee

back to top