Skip to content

Commit 1737ef7

Browse files
alexb0torvalds
authored andcommitted
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>
1 parent 242f45d commit 1737ef7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎drivers/ata/sata_sil.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
#include <linux/device.h>
4545
#include <scsi/scsi_host.h>
4646
#include <linux/libata.h>
47+
#include <linux/dmi.h>
4748

4849
#define DRV_NAME "sata_sil"
4950
#define DRV_VERSION "2.4"

0 commit comments

Comments
 (0)