On Tue, Dec 27, 2011 at 06:06:27PM +0800, Ying-Chun Liu (PaulLiu) wrote: > (2011年12月22日 19:33), Mark Brown wrote:
> >> +#include <linux/platform_device.h> > >> +#include <linux/regulator/machine.h> > > Why does your regulator driver need this? That suggests a layering > > violation. > Sorry, I'm not sure what does this mean. > But if I want to access regulator_constraints, shouldn't I include this > header file? If your regulator driver wants to access regulator_constraints it is doing something wrong, that should never be required. _______________________________________________ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev