i2c: designware-pcidrv: Mark expected switch fall-through
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com> Acked-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
This commit is contained in:
Родитель
ee87a0ce2f
Коммит
1c02cbf7de
|
@ -105,6 +105,7 @@ static int mfld_setup(struct pci_dev *pdev, struct dw_pci_controller *c)
|
|||
case 0x0817:
|
||||
c->bus_cfg &= ~DW_IC_CON_SPEED_MASK;
|
||||
c->bus_cfg |= DW_IC_CON_SPEED_STD;
|
||||
/* fall through */
|
||||
case 0x0818:
|
||||
case 0x0819:
|
||||
c->bus_num = pdev->device - 0x817 + 3;
|
||||
|
|
Загрузка…
Ссылка в новой задаче