On Wed, Feb 20, 2013 at 09:24:35AM -0800, Simon Glass wrote:
> This is the base EC implementation, which provides a high level
> interface to the EC for use by the rest of the kernel. The actual
> communcations is dealt with by a separate protocol driver which
> registers itself with this interface.
> 
> Interrupts are passed on through a notifier.
> 
> A simple message structure is used to pass messages to the
> protocol driver.
> Signed-off-by: Simon Glass <s...@chromium.org>
> Signed-off-by: Che-Liang Chiou <clch...@chromium.org>
> Signed-off-by: Jonathan Kliegman <kli...@chromium.org>
> Signed-off-by: Luigi Semenzato <semenz...@chromium.org>
> Signed-off-by: Olof Johansson <ol...@chromium.org>
> Signed-off-by: Vincent Palatin <vpala...@chromium.org>

...

>  
> +config MFD_CROS_EC
> +     bool "Support ChromeOS Embedded Controller"
> +     help
> +       If you say Y here you get support for the ChromeOS Embedded
> +       Controller (EC) providing keyboard, battery and power services.
> +       You also ned to enable the driver for the bus you are using. The
> +       protocol for talking to the EC is defined by the bus driver.

Why can't it be a module?

> +
> +#ifndef __LINUX_MFD_CROS_EC_H
> +#define __LINUX_MFD_CROS_EC_H
> +
> +struct i2c_msg;

I do not believe this is needed here.

Thanks.

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

Reply via email to