summaryrefslogtreecommitdiff
path: root/src/mainboard/roda/rk9
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2023-12-08 10:52:34 +0100
committerFelix Singer <service+coreboot-gerrit@felixsinger.de>2023-12-20 08:34:50 +0000
commitdf98b8168fdf302402a8a83a6a6da020cf0ebaa9 (patch)
treede29d175bbfcebe7eb420072fab04077146de45a /src/mainboard/roda/rk9
parent6ff711c48faa64024d031ed7753c157837347d24 (diff)
mainboard: Use same indent levels for switch/case
Use same indent levels for switch/case in order to comply with the linter. Change-Id: I602cf024ec84b15b783d36014c725826f9d6595e Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/79418 Reviewed-by: Alexander Couzens <lynxis@fe80.eu> Reviewed-by: Eric Lai <ericllai@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/roda/rk9')
-rw-r--r--src/mainboard/roda/rk9/ti_pci7xx1.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mainboard/roda/rk9/ti_pci7xx1.c b/src/mainboard/roda/rk9/ti_pci7xx1.c
index a980f5c129..3ff339ce00 100644
--- a/src/mainboard/roda/rk9/ti_pci7xx1.c
+++ b/src/mainboard/roda/rk9/ti_pci7xx1.c
@@ -24,11 +24,11 @@ static void pci7xx1_enable(struct device *const dev)
printk(BIOS_DEBUG,
"%s: Hiding function #%d.\n", __func__, fn);
switch (fn) {
- case 1: gcr |= 1 << 4; break; /* CardBus B */
- case 2: gcr |= 1 << 3; break; /* OHCI 1394 */
- case 3: gcr |= 1 << 5; break; /* Flash media */
- case 4: gcr |= 1 << 6; break; /* SD card */
- case 5: gcr |= 1 << 7; break; /* Smart Card */
+ case 1: gcr |= 1 << 4; break; /* CardBus B */
+ case 2: gcr |= 1 << 3; break; /* OHCI 1394 */
+ case 3: gcr |= 1 << 5; break; /* Flash media */
+ case 4: gcr |= 1 << 6; break; /* SD card */
+ case 5: gcr |= 1 << 7; break; /* Smart Card */
}
}
pci_write_config16(dev, 0x86, gcr);