aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Stanley <joel@jms.id.au>2017-09-05 15:51:58 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-09-05 17:56:34 +1000
commit3aa8884bfcb03a0cb01edf552a68ec633bb68217 (patch)
tree7e6aa8f5e5de0c3416cd5caa2fd871581a5c27a3
parent39e524fdcec7fab5b88305a33c2ac67386839918 (diff)
downloadskiboot-3aa8884bfcb03a0cb01edf552a68ec633bb68217.zip
skiboot-3aa8884bfcb03a0cb01edf552a68ec633bb68217.tar.gz
skiboot-3aa8884bfcb03a0cb01edf552a68ec633bb68217.tar.bz2
hw/gx: Add space between switch and open paren
Signed-off-by: Joel Stanley <joel@jms.id.au> Reviewed-by: Michael Neuling <mikey@neuling.org> Reviewed-by: Russell Currey <ruscur@russell.cc> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
-rw-r--r--hw/gx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/hw/gx.c b/hw/gx.c
index 16b872a..12cea5b 100644
--- a/hw/gx.c
+++ b/hw/gx.c
@@ -84,8 +84,8 @@ int gx_configure_psi_buid(uint32_t chip, uint32_t buid)
printf("GX: PSI BUID for PVR %x (type %x) chip %d BUID 0x%x\n",
pvr, PVR_TYPE(pvr), chip, buid);
-
- switch(PVR_TYPE(pvr)) {
+
+ switch (PVR_TYPE(pvr)) {
case PVR_TYPE_P7:
return gx_p7_configure_psi_buid(chip, buid);
case PVR_TYPE_P7P:
@@ -148,7 +148,7 @@ int gx_configure_tce_bar(uint32_t chip, uint32_t gx, uint64_t addr,
pvr, PVR_TYPE(pvr), chip, gx);
/* We only support P7... is there a P7+ with P5IOC2 ? */
- switch(PVR_TYPE(pvr)) {
+ switch (PVR_TYPE(pvr)) {
case PVR_TYPE_P7:
return gx_p7_configure_tce_bar(chip, gx, addr, size);
}