Re: [PATCH v2] regulator: Add GPIO enable control to fixed voltageregulator driver

From: Mark Brown
Date: Sat Aug 01 2009 - 05:48:36 EST


On Sat, Aug 01, 2009 at 08:57:43AM +0300, Roger Quadros wrote:

> Do we need to check whether CONFIG_GPIOLIB is available? or do we need
> to explicitly
> select it in Kconfig?

Check but I think that all the APIs you are using are stubbed out if
gpiolib is not available so you can just ignore it. If not then ifdefs
around the code are the way forward.
--
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/