Felix Held has uploaded this change for review.
sb/intel/i82371eb/isa: make IOAPIC ID const
Since the local IOAPIC ID variable is initialized as 2 and never changed
afterwards, so make it const to make this more obvious.
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: I1f19cc43b44a938758a43346f4fa75f8ed39ddea
---
M src/southbridge/intel/i82371eb/isa.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/49/80349/1
diff --git a/src/southbridge/intel/i82371eb/isa.c b/src/southbridge/intel/i82371eb/isa.c
index 7d86e8a..9d03de0 100644
--- a/src/southbridge/intel/i82371eb/isa.c
+++ b/src/southbridge/intel/i82371eb/isa.c
@@ -53,7 +53,7 @@
*/
if (CONFIG(IOAPIC)) {
u16 reg16;
- u8 ioapic_id = 2;
+ const u8 ioapic_id = 2;
/* Enable IOAPIC. */
reg16 = pci_read_config16(dev, XBCS);
To view, visit change 80349. To unsubscribe, or for help writing mail filters, visit settings.