Commit d56a91e8 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Greg Kroah-Hartman

serial: sh-sci: Make sci_irq_desc[] const

Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f84b6bdc
...@@ -1110,7 +1110,7 @@ static int sci_notifier(struct notifier_block *self, ...@@ -1110,7 +1110,7 @@ static int sci_notifier(struct notifier_block *self,
return NOTIFY_OK; return NOTIFY_OK;
} }
static struct sci_irq_desc { static const struct sci_irq_desc {
const char *desc; const char *desc;
irq_handler_t handler; irq_handler_t handler;
} sci_irq_desc[] = { } sci_irq_desc[] = {
...@@ -1152,7 +1152,7 @@ static int sci_request_irq(struct sci_port *port) ...@@ -1152,7 +1152,7 @@ static int sci_request_irq(struct sci_port *port)
int i, j, ret = 0; int i, j, ret = 0;
for (i = j = 0; i < SCIx_NR_IRQS; i++, j++) { for (i = j = 0; i < SCIx_NR_IRQS; i++, j++) {
struct sci_irq_desc *desc; const struct sci_irq_desc *desc;
int irq; int irq;
if (SCIx_IRQ_IS_MUXED(port)) { if (SCIx_IRQ_IS_MUXED(port)) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment