Re: [PATCH 2/2] regulator/mc13783: various cleanups
From: Liam Girdwood
Date: Wed Nov 11 2009 - 09:12:00 EST
On Tue, 2009-11-10 at 09:18 +0100, Uwe Kleine-KÃnig wrote:
> - define needed registers and bits in the driver
> - properly namespace functions and structs
> - fix locking as required by patch
> "mfd/mc13783: near complete rewrite"
> - use platform_data as provided by "mfd/mc13783: near complete rewrite"
> instead of accessing struct mc13783
> - struct mc13783_regulator_priv.desc is (and was) unused and so can go
> away
> - use cpp magic to initialize mc13783_regulators
> - bring MODULE_LICENSE in sync with actual copyright
> - minor style fixes
>
> This allows not including mc13783-private.h which I intend to remove
> soon.
>
> Signed-off-by: Uwe Kleine-KÃnig <u.kleine-koenig@xxxxxxxxxxxxxx>
> Cc: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>
> Cc: Liam Girdwood <lrg@xxxxxxxxxxxxxxx>
> Cc: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
> Cc: Samuel Ortiz <sameo@xxxxxxxxxxxxxxx>
> ---
I assume the new mc13783 function and type definitions are in mfd-next ?
CC [M] drivers/regulator/mc13783-regulator.o
drivers/regulator/mc13783-regulator.c: In function âmc13783_regulator_enableâ:
drivers/regulator/mc13783-regulator.c:116: error: implicit declaration of function âmc13783_lockâ
drivers/regulator/mc13783-regulator.c:117: error: implicit declaration of function âmc13783_reg_rmwâ
drivers/regulator/mc13783-regulator.c:120: error: implicit declaration of function âmc13783_unlockâ
drivers/regulator/mc13783-regulator.c: In function âmc13783_regulator_is_enabledâ:
drivers/regulator/mc13783-regulator.c:148: error: implicit declaration of function âmc13783_reg_readâ
drivers/regulator/mc13783-regulator.c: In function âmc13783_regulator_probeâ:
drivers/regulator/mc13783-regulator.c:175: error: dereferencing pointer to incomplete type
drivers/regulator/mc13783-regulator.c:182: error: dereferencing pointer to incomplete type
drivers/regulator/mc13783-regulator.c:183: error: dereferencing pointer to incomplete type
drivers/regulator/mc13783-regulator.c: In function âmc13783_regulator_removeâ:
drivers/regulator/mc13783-regulator.c:215: error: dereferencing pointer to incomplete type
make[1]: *** [drivers/regulator/mc13783-regulator.o] Error 1
make: *** [drivers/regulator/mc13783-regulator.o] Error 2
Liam
--
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/