diff options
author | Vijay Hiremath <vijay.p.hiremath@intel.com> | 2019-11-19 10:15:35 -0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-11-22 02:02:15 +0000 |
commit | b6e36785982074af5638c456f305871f1465d460 (patch) | |
tree | 1d8537c283419139d881b7321b28be5927c61b06 /driver | |
parent | 2748f2cbe6850d9ec7a307f53b3025924e25bf05 (diff) | |
download | chrome-ec-b6e36785982074af5638c456f305871f1465d460.tar.gz |
cleanup: Segregate ioexpander related drivers in ioexpander folder
BUG=none
BRANCH=none
TEST=make buildall -j
Change-Id: I7fe9ab23254dbd8515936d10ad6782305e76236c
Signed-off-by: Vijay Hiremath <vijay.p.hiremath@intel.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1925173
Reviewed-by: Jett Rink <jettrink@chromium.org>
Diffstat (limited to 'driver')
-rw-r--r-- | driver/build.mk | 6 | ||||
-rw-r--r-- | driver/ioexpander/ioexpander_nct38xx.c (renamed from driver/ioexpander_nct38xx.c) | 0 | ||||
-rw-r--r-- | driver/ioexpander/ioexpander_nct38xx.h (renamed from driver/ioexpander_nct38xx.h) | 0 | ||||
-rw-r--r-- | driver/ioexpander/it8300.h (renamed from driver/ioexpander_it8300.h) | 0 | ||||
-rw-r--r-- | driver/ioexpander/it8801.c (renamed from driver/ioexpander_it8801.c) | 2 | ||||
-rw-r--r-- | driver/ioexpander/it8801.h (renamed from driver/ioexpander_it8801.h) | 0 | ||||
-rw-r--r-- | driver/ioexpander/pca9534.c (renamed from driver/ioexpander_pca9534.c) | 2 | ||||
-rw-r--r-- | driver/ioexpander/pca9534.h (renamed from driver/ioexpander_pca9534.h) | 0 | ||||
-rw-r--r-- | driver/ioexpander/pca9555.h (renamed from driver/ioexpander_pca9555.h) | 0 |
9 files changed, 5 insertions, 5 deletions
diff --git a/driver/build.mk b/driver/build.mk index 27daf6bb3f..020ee211a7 100644 --- a/driver/build.mk +++ b/driver/build.mk @@ -79,9 +79,9 @@ driver-$(CONFIG_CHARGER_SY21612)+=charger/sy21612.o include $(_driver_cur_dir)fingerprint/build.mk # I/O expander -driver-$(CONFIG_IO_EXPANDER_IT8801)+=ioexpander_it8801.o -driver-$(CONFIG_IO_EXPANDER_PCA9534)+=ioexpander_pca9534.o -driver-$(CONFIG_IO_EXPANDER_NCT38XX)+=ioexpander_nct38xx.o +driver-$(CONFIG_IO_EXPANDER_IT8801)+=ioexpander/it8801.o +driver-$(CONFIG_IO_EXPANDER_PCA9534)+=ioexpander/pca9534.o +driver-$(CONFIG_IO_EXPANDER_NCT38XX)+=ioexpander/ioexpander_nct38xx.o # Current/Power monitor diff --git a/driver/ioexpander_nct38xx.c b/driver/ioexpander/ioexpander_nct38xx.c index e7fe3d9453..e7fe3d9453 100644 --- a/driver/ioexpander_nct38xx.c +++ b/driver/ioexpander/ioexpander_nct38xx.c diff --git a/driver/ioexpander_nct38xx.h b/driver/ioexpander/ioexpander_nct38xx.h index 56dfe76e04..56dfe76e04 100644 --- a/driver/ioexpander_nct38xx.h +++ b/driver/ioexpander/ioexpander_nct38xx.h diff --git a/driver/ioexpander_it8300.h b/driver/ioexpander/it8300.h index 2b47e7f3e1..2b47e7f3e1 100644 --- a/driver/ioexpander_it8300.h +++ b/driver/ioexpander/it8300.h diff --git a/driver/ioexpander_it8801.c b/driver/ioexpander/it8801.c index 64ef3628ed..6b1184c740 100644 --- a/driver/ioexpander_it8801.c +++ b/driver/ioexpander/it8801.c @@ -5,10 +5,10 @@ #include "common.h" #include "console.h" -#include "driver/ioexpander_it8801.h" #include "gpio.h" #include "hooks.h" #include "i2c.h" +#include "it8801.h" #include "keyboard_raw.h" #include "keyboard_scan.h" #include "registers.h" diff --git a/driver/ioexpander_it8801.h b/driver/ioexpander/it8801.h index 9b84adf764..9b84adf764 100644 --- a/driver/ioexpander_it8801.h +++ b/driver/ioexpander/it8801.h diff --git a/driver/ioexpander_pca9534.c b/driver/ioexpander/pca9534.c index 44bf59e424..d56eb864cb 100644 --- a/driver/ioexpander_pca9534.c +++ b/driver/ioexpander/pca9534.c @@ -6,7 +6,7 @@ */ #include "i2c.h" -#include "ioexpander_pca9534.h" +#include "pca9534.h" static int pca9534_pin_read(const int port, const uint16_t addr_flags, int reg, int pin, int *val) diff --git a/driver/ioexpander_pca9534.h b/driver/ioexpander/pca9534.h index 0fec577576..0fec577576 100644 --- a/driver/ioexpander_pca9534.h +++ b/driver/ioexpander/pca9534.h diff --git a/driver/ioexpander_pca9555.h b/driver/ioexpander/pca9555.h index 273f898821..273f898821 100644 --- a/driver/ioexpander_pca9555.h +++ b/driver/ioexpander/pca9555.h |