]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
sata_sil: Fix build breakage
authorAlexander Beregalov <a.beregalov@gmail.com>
Wed, 28 Jan 2009 23:30:56 +0000 (02:30 +0300)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 30 Jan 2009 02:19:30 +0000 (18:19 -0800)
commit1737ef7598d3515fdc11cb9ba7e054f334404e04
treee7b2bf38b99580081bf6cabb9d484cca7e9a98e8
parent242f45da5b7bf63c50f1f18301750712e7885dd6
sata_sil: Fix build breakage

Commit e57db7b (SATA Sil: Blacklist system that spins off disks during ACPI power off)
 breaks build like the following, in both cases when CONFIG_DMI set or not.

        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

  sata_sil.c should include dmi.h

Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/ata/sata_sil.c