“0bb9c80ef960d777c5937f8fed8ddf75f2ac6a18”上不存在“paddle/fluid/memory/allocation/allocator_strategy.h”
提交 952773b5 编写于 作者: P Phillip Raffeck 提交者: Greg Kroah-Hartman

tty: serial: 8250: Remove SERIAL_DEBUG_PNP macro

This patch removes the macro SERIAL_DEBUG_PNP, which is used to enable
debugging at compile time.
As SERIAL_DEBUG_PNP is an orphan, the corresponding #ifdef is removed.
To keep the ability to enable debugging at compile time,
the call to printk(KERN_DEBUG ...) is replaced by a corresponding
call to dev_dbg(), which is configurable via CONFIG_DYNAMIC_DEBUG.
Signed-off-by: NPhillip Raffeck <phillip.raffeck@fau.de>
Signed-off-by: NAnton Würfel <anton.wuerfel@fau.de>
Reviewed-by: NAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: linux-kernel@i4.cs.fau.de
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 9f59fbf0
...@@ -464,11 +464,11 @@ serial_pnp_probe(struct pnp_dev *dev, const struct pnp_device_id *dev_id) ...@@ -464,11 +464,11 @@ serial_pnp_probe(struct pnp_dev *dev, const struct pnp_device_id *dev_id)
} else } else
return -ENODEV; return -ENODEV;
#ifdef SERIAL_DEBUG_PNP dev_dbg(&dev->dev,
printk(KERN_DEBUG "Setup PNP port: port %x, mem 0x%lx, irq %d, type %d\n",
"Setup PNP port: port %x, mem 0x%lx, irq %d, type %d\n", uart.port.iobase, uart.port.mapbase,
uart.port.iobase, uart.port.mapbase, uart.port.irq, uart.port.iotype); uart.port.irq, uart.port.iotype);
#endif
if (flags & CIR_PORT) { if (flags & CIR_PORT) {
uart.port.flags |= UPF_FIXED_PORT | UPF_FIXED_TYPE; uart.port.flags |= UPF_FIXED_PORT | UPF_FIXED_TYPE;
uart.port.type = PORT_8250_CIR; uart.port.type = PORT_8250_CIR;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册