Re: [PATCH] mfd: ab8500: fix compile error

From: Samuel Ortiz
Date: Thu Feb 07 2013 - 02:48:03 EST


Hi Linus,

On Wed, Feb 06, 2013 at 11:23:01PM +0100, Linus Walleij wrote:
> From: Linus Walleij <linus.walleij@xxxxxxxxxx>
>
> When compiling the AB8500 core driver in the latest
> MFD tree the following happens:
>
> CC drivers/mfd/ab8500-debugfs.o
> /home/elinwal/linux-next/drivers/mfd/ab8500-debugfs.c:157:3: error: 'AB8500_SYS_CTRL1_BLOCK' undeclared here (not in a function)
> /home/elinwal/linux-next/drivers/mfd/ab8500-debugfs.c:157:2: error: array index in initializer not of integer type
> /home/elinwal/linux-next/drivers/mfd/ab8500-debugfs.c:157:2: error: (near initialization for 'debug_ranges')
> (...)
>
> This is due to a missing include statement, so fix
> it up.
>
> Cc: Lee Jones <lee.jones@xxxxxxxxxx>
> Signed-off-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
> ---
> drivers/mfd/ab8500-debugfs.c | 1 +
> 1 file changed, 1 insertion(+)
Applied, thanks.

Cheers,
Samuel.

--
Intel Open Source Technology Centre
http://oss.intel.com/
--
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/