#define MVEBU_NR_UARTS 1
#define MVEBU_UART_TYPE "mvebu-uart"
+#define DRIVER_NAME "mvebu_serial"
static struct uart_port mvebu_uart_ports[MVEBU_NR_UARTS];
udelay(1);
writel(CTRL_RX_INT, port->membase + UART_CTRL);
- ret = request_irq(port->irq, mvebu_uart_isr, port->irqflags, "serial",
- port);
+ ret = request_irq(port->irq, mvebu_uart_isr, port->irqflags,
+ DRIVER_NAME, port);
if (ret) {
dev_err(port->dev, "failed to request irq\n");
return ret;
static struct uart_driver mvebu_uart_driver = {
.owner = THIS_MODULE,
- .driver_name = "mvebu_serial",
+ .driver_name = DRIVER_NAME,
.dev_name = "ttyMV",
.nr = MVEBU_NR_UARTS,
#ifdef CONFIG_SERIAL_MVEBU_CONSOLE