try another idea

develop
Cole Deck 4 years ago
parent c38a3e084d
commit 8ff86a7eff

@ -436,6 +436,7 @@ static int __init bbswitch_init(void) {
dev_name(&pdev->dev), (char *)buf.pointer); dev_name(&pdev->dev), (char *)buf.pointer);
} else { } else {
dis_dev = pdev; dis_dev = pdev;
pci_d3cold_enable(pdev);
dis_handle = handle; dis_handle = handle;
pr_info("Found discrete VGA device %s: %s\n", pr_info("Found discrete VGA device %s: %s\n",
dev_name(&pdev->dev), (char *)buf.pointer); dev_name(&pdev->dev), (char *)buf.pointer);

Loading…
Cancel
Save