mfd: cros_ec: Add char dev and virtual dev pointers
authorJavier Martinez Canillas <javier.martinez@collabora.co.uk>
Mon, 2 Feb 2015 11:26:23 +0000 (12:26 +0100)
committerOlof Johansson <olof@lixom.net>
Thu, 26 Feb 2015 23:44:58 +0000 (15:44 -0800)
commit05c11ac4e0712def44cccbff82ad980d9e1d1b80
tree6248dfb959a449f8e096f655297e03b11f64b656
parent1b84f2a4cd4a6f517a313261f6f7c8caae5696c6
mfd: cros_ec: Add char dev and virtual dev pointers

The ChromeOS Embedded Controller has to be accessed by applications.
A virtual character device is used as an interface with user-space.

Extend the struct cros_ec_device with the fields needed by the driver
of this virtual character device.

Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Acked-by: Lee Jones <lee.jones@linaro.org>
Tested-by: Gwendal Grignou <gwendal@chromium.org>
Reviewed-by: Gwendal Grignou <gwendal@chromium.org>
Signed-off-by: Olof Johansson <olof@lixom.net>
include/linux/mfd/cros_ec.h