[PATCH v5] mfd: syscon: Decouple syscon interface from platform devices
Li.Xiubo at freescale.com
Li.Xiubo at freescale.com
Mon Sep 22 02:55:36 PDT 2014
Hi,
[...]
> +static struct regmap_config syscon_regmap_config = {
> + .reg_bits = 32,
> + .val_bits = 32,
> + .reg_stride = 4,
> };
>
> -static int syscon_match_node(struct device *dev, void *data)
> +static struct syscon *of_syscon_register(struct device_node *np)
> {
> - struct device_node *dn = data;
> + struct platform_device *pdev = NULL;
struct platform_device *pdev; ?
Thanks,
BRs
Xiubo
More information about the linux-arm-kernel
mailing list