[PATCH 2/4 v4] pinmux: add a driver for the U300 pinmux
Barry Song
21cnbao at gmail.com
Wed Aug 24 02:17:55 EDT 2011
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
More information about the linux-arm-kernel
mailing list