Commit ad9745b4 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] ax25 build fix

spin_lock() does not take a spinlock_t**
parent ae19bc78
...@@ -674,7 +674,7 @@ static int read_scc(struct scc_priv *priv, int reg) { ...@@ -674,7 +674,7 @@ static int read_scc(struct scc_priv *priv, int reg) {
if (reg) outb_p(reg, priv->scc_cmd); if (reg) outb_p(reg, priv->scc_cmd);
return inb_p(priv->scc_cmd); return inb_p(priv->scc_cmd);
default: default:
spin_lock_irqsave(&priv->register_lock, flags); spin_lock_irqsave(priv->register_lock, flags);
outb_p(0, priv->card_base + PI_DREQ_MASK); outb_p(0, priv->card_base + PI_DREQ_MASK);
if (reg) outb_p(reg, priv->scc_cmd); if (reg) outb_p(reg, priv->scc_cmd);
rc = inb_p(priv->scc_cmd); rc = inb_p(priv->scc_cmd);
......
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