Commit 3a94cf33 authored by Alessandro Rubini's avatar Alessandro Rubini

nic/dmtd.c: fix readl bug (was not a pointer)

parent 6ef1ed8a
......@@ -25,7 +25,7 @@ int wrn_phase_ioctl(struct net_device *dev, struct ifreq *rq, int cmd)
phase_req.phase = 0;
phase_req.ready = 0;
dmsr = readl(ep->ep_regs->DMSR);
dmsr = readl(&ep->ep_regs->DMSR);
if(dmsr & EP_DMSR_PS_RDY) {
ph = EP_DMSR_PS_VAL_R(dmsr);
......
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