summaryrefslogtreecommitdiff
path: root/src/include/device/device.h
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2023-08-08 15:43:55 +0200
committerFelix Held <felix-coreboot@felixheld.de>2023-08-10 14:21:51 +0000
commit0154fa57ee449c97123e45132fd80bdadcf6df5f (patch)
tree8afcfb986e8610fdbdcb09cd7aefe1df41366b54 /src/include/device/device.h
parentafd74d2fb3718092854ea988bc264d7a70c02f44 (diff)
include/device/device: align comments in struct bus
Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: I20fe63e93121b3b791e6d475e948b6ada648293b Reviewed-on: https://review.coreboot.org/c/coreboot/+/77073 Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@mailbox.org> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Diffstat (limited to 'src/include/device/device.h')
-rw-r--r--src/include/device/device.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/include/device/device.h b/src/include/device/device.h
index f128070378..bf75b7c74a 100644
--- a/src/include/device/device.h
+++ b/src/include/device/device.h
@@ -80,16 +80,16 @@ static inline void noop_set_resources(struct device *dev) {}
struct bus {
DEVTREE_CONST struct device *dev; /* This bridge device */
DEVTREE_CONST struct device *children; /* devices behind this bridge */
- DEVTREE_CONST struct bus *next; /* The next bridge on this device */
- unsigned int bridge_ctrl; /* Bridge control register */
+ DEVTREE_CONST struct bus *next; /* The next bridge on this device */
+ unsigned int bridge_ctrl; /* Bridge control register */
uint16_t bridge_cmd; /* Bridge command register */
- unsigned char link_num; /* The index of this link */
- uint16_t secondary; /* secondary bus number */
- uint16_t subordinate; /* subordinate bus number */
+ unsigned char link_num; /* The index of this link */
+ uint16_t secondary; /* secondary bus number */
+ uint16_t subordinate; /* subordinate bus number */
uint16_t max_subordinate; /* max subordinate bus number */
unsigned int reset_needed : 1;
- unsigned int no_vga16 : 1; /* No support for 16-bit VGA decoding */
+ unsigned int no_vga16 : 1; /* No support for 16-bit VGA decoding */
};
/*