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>
This commit is contained in:
Nico Huber 2019-09-19 16:35:28 +02:00 committed by Patrick Georgi
parent 5936ba43f3
commit 5fb34e87eb
1 changed files with 2 additions and 0 deletions

View File

@ -95,11 +95,13 @@ static void kempld_enable_dev(struct device *const dev)
dev->ops = &kempld_uart_ops; dev->ops = &kempld_uart_ops;
break; break;
} }
/* Fall through. */
case 1: case 1:
if (dev->path.generic.subid == 0) { if (dev->path.generic.subid == 0) {
kempld_i2c_device_init(dev); kempld_i2c_device_init(dev);
break; break;
} }
/* Fall through. */
default: default:
printk(BIOS_WARNING, printk(BIOS_WARNING,
"KEMPLD: Spurious device %s.\n", "KEMPLD: Spurious device %s.\n",