RE: [PATCH] mfd: mc13xxx: add I2C support fix building for v3.4

From: Alex Gershgorin
Date: Wed Mar 28 2012 - 13:39:20 EST



> You ask me about another solution?

> > I'm saying either I'm missing something or this needs to be fixed in the
> > patches that introduce the regmap usage.

You understood correctly, it took me time to understand :-)
No problem I can split this patch:

> > + select REGMAP_I2C if I2C
> > + select REGMAP_SPI if SPI_MASTER

It will go to v4 mfd: mc13xxx-core: use regmap for register access,

Only the second part will be in this patch

- struct device_node *np = mc13xxx->dev.of_node;
+ struct device_node *np = mc13xxx->dev->of_node;










--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/