Re: [PATCH 1/2] pinctrl: ocelot: Fix pincfg for lan966x

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -static struct pinctrl_desc luton_desc = {
> -	.name = "luton-pinctrl",
> -	.pins = luton_pins,
> -	.npins = ARRAY_SIZE(luton_pins),
> -	.pctlops = &ocelot_pctl_ops,
> -	.pmxops = &ocelot_pmx_ops,
> -	.owner = THIS_MODULE,
> +static struct ocelot_match_data luton_desc = {
> +	{
.desc = {

Same for all the structs. Also it looks like it is way too big
for a stable backport:
 "It cannot be bigger than 100 lines, with context."

> +		.name = "luton-pinctrl",
> +		.pins = luton_pins,
> +		.npins = ARRAY_SIZE(luton_pins),
> +		.pctlops = &ocelot_pctl_ops,
> +		.pmxops = &ocelot_pmx_ops,
> +		.owner = THIS_MODULE,
> +	}
>  };

-michael



[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux