Re: [PATCH] regulator: tps65217: fix build error if REGULATOR is notenabled

From: Mark Brown
Date: Wed Jul 18 2012 - 06:00:11 EST

On Wed, Jul 18, 2012 at 09:55:57AM +0000, AnilKumar, Chimata wrote:

> Regulators platform data is added to platform device in MFD driver, which we
> need for regulator driver, of_regulator_match() is used to check the regulator
> consumers if we pass DT data. If we do not enable CONFIG_REGULATOR then
> of_regulator_match() is not exported, so we see this error.

Why are you doing that in the MFD driver?

Attachment: signature.asc
Description: Digital signature