markos
public text v1 · immutable--- sata_sil.c.orig 2009-05-04 18:17:29.248438671 +0300
+++ sata_sil.c 2009-05-04 15:36:21.068011416 +0300
@@ -605,6 +605,7 @@
static bool sil_broken_system_poweroff(struct pci_dev *pdev)
{
+#ifdef CONFIG_DMI
static const struct dmi_system_id broken_systems[] = {
{
.ident = "HP Compaq nx6325",
@@ -625,6 +626,7 @@
/* apply the quirk only to on-board controllers */
return slot == PCI_SLOT(pdev->devfn);
}
+#endif
return false;
}