We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c4f460 commit 3be31e9Copy full SHA for 3be31e9
drivers/pci/pcie/aspm.c
@@ -18,6 +18,7 @@
18
#include <linux/errno.h>
19
#include <linux/pm.h>
20
#include <linux/init.h>
21
+#include <linux/printk.h>
22
#include <linux/slab.h>
23
#include <linux/time.h>
24
@@ -1367,10 +1368,10 @@ static int __init pcie_aspm_disable(char *str)
1367
1368
aspm_policy = POLICY_DEFAULT;
1369
aspm_disabled = 1;
1370
aspm_support_enabled = false;
- printk(KERN_INFO "PCIe ASPM is disabled\n");
1371
+ pr_info("PCIe ASPM is disabled\n");
1372
} else if (!strcmp(str, "force")) {
1373
aspm_force = 1;
- printk(KERN_INFO "PCIe ASPM is forcibly enabled\n");
1374
+ pr_info("PCIe ASPM is forcibly enabled\n");
1375
}
1376
return 1;
1377
0 commit comments