summaryrefslogtreecommitdiffstats
path: root/drivers/platform/chrome/cros_ec_lpc_reg.c
diff options
context:
space:
mode:
authorEnric Balletbo i Serra <enric.balletbo@collabora.com>2018-07-18 18:09:55 +0200
committerBenson Leung <bleung@chromium.org>2018-09-07 15:56:36 +0800
commitcc8a4ea182efac95ad4582053f8a51271fab734d (patch)
tree7169be85a27ef6084941d5de8de7da6d8bb0ec1a /drivers/platform/chrome/cros_ec_lpc_reg.c
parent57361846b52bc686112da6ca5368d11210796804 (diff)
downloadlinux-stable-cc8a4ea182efac95ad4582053f8a51271fab734d.tar.gz
linux-stable-cc8a4ea182efac95ad4582053f8a51271fab734d.tar.bz2
linux-stable-cc8a4ea182efac95ad4582053f8a51271fab734d.zip
platform/chrome: Move mfd/cros_ec_lpc* includes to drivers/platform.
The cros-ec-lpc driver lives in drivers/platform because is platform specific, however there are two includes (cros_ec_lpc_mec.h and cros_ec_lpc_reg.h) that lives in include/linux/mfd. These two includes are only used for the platform driver and are not really related to the MFD subsystem, so move the includes from include/linux/mfd to drivers/platform/chrome. Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com> Signed-off-by: Benson Leung <bleung@chromium.org>
Diffstat (limited to 'drivers/platform/chrome/cros_ec_lpc_reg.c')
-rw-r--r--drivers/platform/chrome/cros_ec_lpc_reg.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/platform/chrome/cros_ec_lpc_reg.c b/drivers/platform/chrome/cros_ec_lpc_reg.c
index dcc7a3e30604..fc23d535c404 100644
--- a/drivers/platform/chrome/cros_ec_lpc_reg.c
+++ b/drivers/platform/chrome/cros_ec_lpc_reg.c
@@ -24,7 +24,8 @@
#include <linux/io.h>
#include <linux/mfd/cros_ec.h>
#include <linux/mfd/cros_ec_commands.h>
-#include <linux/mfd/cros_ec_lpc_mec.h>
+
+#include "cros_ec_lpc_mec.h"
static u8 lpc_read_bytes(unsigned int offset, unsigned int length, u8 *dest)
{