Skip to content

Commit

Permalink
powerpc/5200: Don't specify IRQF_SHARED in PSC UART driver
Browse files Browse the repository at this point in the history
The MPC5200 PSC device is wired up to a dedicated interrupt line
which is never shared.  This patch removes the IRQF_SHARED flag
from the request_irq() call which eliminates the "IRQF_DISABLED
is not guaranteed on shared IRQs" warning message from the console
output.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Reviewed-by: Wolfram Sang <w.sang@pengutronix.de>
  • Loading branch information
Grant Likely committed Feb 4, 2009
1 parent b884245 commit d9f0c5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/serial/mpc52xx_uart.c
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ mpc52xx_uart_startup(struct uart_port *port)

/* Request IRQ */
ret = request_irq(port->irq, mpc52xx_uart_int,
IRQF_DISABLED | IRQF_SAMPLE_RANDOM | IRQF_SHARED,
IRQF_DISABLED | IRQF_SAMPLE_RANDOM,
"mpc52xx_psc_uart", port);
if (ret)
return ret;
Expand Down

0 comments on commit d9f0c5f

Please sign in to comment.