Re: [PATCH] mfd: Add initial WM8958 support

From: Thiago Farina
Date: Mon Nov 01 2010 - 21:52:10 EST


On Mon, Nov 1, 2010 at 4:20 PM, Mark Brown
<broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
> diff --git a/include/linux/mfd/wm8994/core.h b/include/linux/mfd/wm8994/core.h
> index de79bae..3fd3684 100644
> --- a/include/linux/mfd/wm8994/core.h
> +++ b/include/linux/mfd/wm8994/core.h
> @@ -17,6 +17,11 @@
>
> Â#include <linux/interrupt.h>
>
> +enum wm8994_type {
> + Â Â Â WM8994 = 0,
> + Â Â Â WM8958 = 1,
> +};
> +
Don't need to initialize with = 0 and with = 1. This is done by default.
--
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/