[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87633kacmq.fsf@deeprootsystems.com>
Date: Wed, 21 Apr 2010 11:23:09 -0700
From: Kevin Hilman <khilman@...prootsystems.com>
To: Todd Fischer <todd.fischer@...gerun.com>
Cc: linux-kernel@...r.kernel.org,
davinci-linux-open-source@...ux.davincidsp.com,
sameo@...ux.intel.com, lrg@...mlogic.co.uk,
broonie@...nsource.wolfsonmicro.com
Subject: Re: [PATCH 4/4]-V3 Add MFD driver for TPS6507x family of multi-function chips and move TPS6507x regulator driver from being stand-alone to using the MFD driver.
Todd Fischer <todd.fischer@...gerun.com> writes:
> Add MFD driver for TPS6507x family of multi-function chips. Move TPS6507x
> regulator driver from being stand-alone driver to using the MFD TPS6507x driver.
>
> Signed-off-by: Todd Fischer <todd.fischer@...gerun.com>
[...]
Not sure whose tree this is queued in currently, but testing with
current davinci git, I had a compile problem...
> diff --git a/drivers/mfd/tps6507x.c b/drivers/mfd/tps6507x.c
> new file mode 100644
> index 0000000..5bca398
> --- /dev/null
> +++ b/drivers/mfd/tps6507x.c
> @@ -0,0 +1,155 @@
> +/*
> + * tps6507x.c -- TPS6507x chip family multi-function driver
> + *
> + * Copyright (c) 2010 RidgeRun (todd.fischer@...gerun.com)
> + *
> + * Author: Todd Fischer
> + * todd.fischer@...gerun.com
> + *
> + * Credits:
> + *
> + * Using code from wm831x-*.c, wm8400-core, Wolfson Microelectronics PLC.
> + *
> + * For licencing details see kernel-base/COPYING
> + *
> + */
> +
> +#include <linux/module.h>
> +#include <linux/moduleparam.h>
> +#include <linux/init.h>
> +#include <linux/i2c.h>
> +#include <linux/mfd/core.h>
> +#include <linux/mfd/tps6507x.h>
Need an #include <linux/slab.h> here for kfree and kzalloc
Kevin
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists