Re: [PATCHv2] Regulator: Add Anatop regulator driver

From: Ying-Chun Liu (PaulLiu)
Date: Tue Dec 27 2011 - 05:06:39 EST


(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?

Yours Sincerely,
Paul

--
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/