summary refs log tree commit diff stats
path: root/hw/i2c/core.c
diff options
context:
space:
mode:
authorCorey Minyard <cminyard@mvista.com>2018-03-01 11:05:44 +0000
committerPeter Maydell <peter.maydell@linaro.org>2018-03-01 11:05:44 +0000
commit373b8ac794291c9a20198ac671728dbd74ac3771 (patch)
tree3b99b0feae33afc2c80ca26fc2d67d1f56c9048b /hw/i2c/core.c
parentb8cc8503521282fe741e4d24ade9157210fdf3ba (diff)
downloadfocaccia-qemu-373b8ac794291c9a20198ac671728dbd74ac3771.tar.gz
focaccia-qemu-373b8ac794291c9a20198ac671728dbd74ac3771.zip
i2c: Fix some brace style issues
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Message-id: 20180227104903.21353-2-linus.walleij@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/i2c/core.c')
-rw-r--r--hw/i2c/core.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/i2c/core.c b/hw/i2c/core.c
index 59068f157e..9a54b61c1d 100644
--- a/hw/i2c/core.c
+++ b/hw/i2c/core.c
@@ -19,8 +19,7 @@ struct I2CNode {
 
 #define I2C_BROADCAST 0x00
 
-struct I2CBus
-{
+struct I2CBus {
     BusState qbus;
     QLIST_HEAD(, I2CNode) current_devs;
     uint8_t saved_address;