Messages in this thread | | | From | Barry Song <> | Date | Wed, 24 Aug 2011 14:17:55 +0800 | Subject | Re: [PATCH 2/4 v4] pinmux: add a driver for the U300 pinmux |
| |
Hi Linus, This patch can't compile.... > + > +/** > + * @dev: a pointer back to containing device > + * @virtbase: the offset to the controller in virtual memory > + */ > +struct u300_pmx { > + struct device *dev; > + struct pinmux_dev *pmx;
no this structure in head file, now it is pinctrl_desc.
> + u32 phybase; > + u32 physize; > + void __iomem *virtbase; > +};
> + /* Now register the pin controller and all pins it handles */ > + upmx->pctl = pinctrl_register(&u300_pmx_desc, &pdev->dev, upmx);
no this field in upmx structure.
> + if (IS_ERR(upmx->pctl)) {
Did you send the wrong version?
-barry -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |