[PATCH v2 3/9] PCI/PME: Prefix dmesg logs with PCIe service name

From: Frederick Lawler
Date: Fri May 03 2019 - 00:00:58 EST


Prefix dmesg logs with PCIe service name.

Signed-off-by: Frederick Lawler <fred@xxxxxxxxxxxx>
---
drivers/pci/pcie/pme.c | 2 ++
1 file changed, 2 insertions(+)

diff --git a/drivers/pci/pcie/pme.c b/drivers/pci/pcie/pme.c
index 54d593d10396..d6698423a6d6 100644
--- a/drivers/pci/pcie/pme.c
+++ b/drivers/pci/pcie/pme.c
@@ -7,6 +7,8 @@
* Copyright (C) 2009 Rafael J. Wysocki <rjw@xxxxxxx>, Novell Inc.
*/

+#define dev_fmt(fmt) "PME: " fmt
+
#include <linux/pci.h>
#include <linux/kernel.h>
#include <linux/errno.h>
--
2.17.1