diff options
author | Nico Huber <nico.huber@secunet.com> | 2019-09-19 16:35:28 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-09-30 11:51:11 +0000 |
commit | 5fb34e87eb94294b37420493d6863983673fa4a0 (patch) | |
tree | e4b5a41b4f86cc9a071dbf505375b4393d8d793e /src | |
parent | 5936ba43f3f41e5d67657cd0eab28b477e91ef39 (diff) |
ec/kontron/kempld: Add fall-through comments where appropriate
Fixes related GCC warnings.
Change-Id: I803fc0e005390ebd8a5e3ac6886ee968c56c3a34
Signed-off-by: Nico Huber <nico.huber@secunet.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/35473
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/ec/kontron/kempld/kempld.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ec/kontron/kempld/kempld.c b/src/ec/kontron/kempld/kempld.c index 19c18804c2..b87238b649 100644 --- a/src/ec/kontron/kempld/kempld.c +++ b/src/ec/kontron/kempld/kempld.c @@ -95,11 +95,13 @@ static void kempld_enable_dev(struct device *const dev) dev->ops = &kempld_uart_ops; break; } + /* Fall through. */ case 1: if (dev->path.generic.subid == 0) { kempld_i2c_device_init(dev); break; } + /* Fall through. */ default: printk(BIOS_WARNING, "KEMPLD: Spurious device %s.\n", |