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
File Mode Size
Kconfig -rw-r--r-- 1.3 KB
Makefile -rw-r--r-- 285 bytes
awacs.c -rw-r--r-- 29.9 KB
awacs.h -rw-r--r-- 8.0 KB
beep.c -rw-r--r-- 7.7 KB
burgundy.c -rw-r--r-- 24.4 KB
burgundy.h -rw-r--r-- 4.0 KB
daca.c -rw-r--r-- 6.9 KB
keywest.c -rw-r--r-- 3.3 KB
pmac.c -rw-r--r-- 37.3 KB
pmac.h -rw-r--r-- 5.1 KB
powermac.c -rw-r--r-- 5.1 KB
snd_ps3.c -rw-r--r-- 30.4 KB
snd_ps3.h -rw-r--r-- 3.5 KB
snd_ps3_reg.h -rw-r--r-- 33.2 KB
tumbler.c -rw-r--r-- 38.1 KB
tumbler_volume.h -rw-r--r-- 6.5 KB

back to top