Re: [PATCH 5/6] regulator: regulator framework build.

From: Sam Ravnborg
Date: Wed Feb 20 2008 - 12:34:40 EST


> diff --git a/drivers/regulator/Makefile b/drivers/regulator/Makefile
> new file mode 100644
> index 0000000..3f70871
> --- /dev/null
> +++ b/drivers/regulator/Makefile
> @@ -0,0 +1,9 @@
> +#
> +# Makefile for regulator drivers.
> +#
> +
> +obj-$(CONFIG_REGULATOR) += reg-core.o
> +
Replace this
> +ifeq ($(CONFIG_REGULATOR_DEBUG),y)
> + EXTRA_CFLAGS += -DDEBUG
> +endif

with this:
> +ccflags-$(CONFIG_REGULATOR_DEBUG) += -DDEBUG

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