ramips: mt7620: eMMC: fix compiler warning (misleading indentation)
authorAndré Draszik <git@andred.net>
Thu, 22 Feb 2018 10:21:35 +0000 (10:21 +0000)
committerMathias Kresin <dev@kresin.me>
Wed, 4 Apr 2018 06:29:16 +0000 (08:29 +0200)
commit7d44b36c9878329b70bfdda732fa5fb6c82f2cc8
tree057b04c7f272f6ab93c825b7af9b7eb0dfb37072
parentbbbd71e3eae90702ac8d24f3bbaa3ae320ebe604
ramips: mt7620: eMMC: fix compiler warning (misleading indentation)

drivers/mmc/host/mtk-mmc/sd.c:2782:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
     if ((hw->flags & MSDC_SDIO_IRQ) || (hw->flags & MSDC_EXT_SDIO_IRQ))
     ^~
drivers/mmc/host/mtk-mmc/sd.c:2785:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
  cd_active_low = !of_property_read_bool(pdev->dev.of_node, "mediatek,cd-high");
  ^~~~~~~~~~~~~

Signed-off-by: André Draszik <git@andred.net>
target/linux/ramips/patches-4.14/0046-mmc-MIPS-ralink-add-sdhci-for-mt7620a-SoC.patch
target/linux/ramips/patches-4.9/0046-mmc-MIPS-ralink-add-sdhci-for-mt7620a-SoC.patch