From: Kevin Hilman on
Todd Fischer <todd.fischer(a)ridgerun.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(a)ridgerun.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(a)ridgerun.com)
> + *
> + * Author: Todd Fischer
> + * todd.fischer(a)ridgerun.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(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
From: Kevin Hilman on
Samuel Ortiz <sameo(a)linux.intel.com> writes:

> Hi Kevin,
>
> On Wed, Apr 21, 2010 at 11:23:09AM -0700, Kevin Hilman wrote:
>> Todd Fischer <todd.fischer(a)ridgerun.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(a)ridgerun.com>
>>
>> [...]
>>
>> Not sure whose tree this is queued in currently, but testing with
>> current davinci git, I had a compile problem...
>
> This is fixed in the MFD tree.
>

Thanks!

Kevin
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/