diff options
author | Elyes Haouas <ehaouas@noos.fr> | 2024-03-30 10:13:29 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2024-04-09 09:20:43 +0000 |
commit | ff40cf438e784633c81ecd77820e219b7caf1f0b (patch) | |
tree | 06b38fb976456d713e9f5a16adaa4ec7d2ee2b85 /src | |
parent | 04b89c5a37f223d7a7a666ade1f970be5564c9ab (diff) |
drivers/gfx: Remove unnecessary line continuations
Change-Id: Ic71516ae73d61c9f13876a5acc071645bbe8e866
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/81594
Reviewed-by: Eric Lai <ericllai@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/drivers/gfx/generic/generic.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/gfx/generic/generic.c b/src/drivers/gfx/generic/generic.c index 0714565b2d..f07a4710ff 100644 --- a/src/drivers/gfx/generic/generic.c +++ b/src/drivers/gfx/generic/generic.c @@ -119,8 +119,8 @@ static void gfx_fill_ssdt_generator(const struct device *dev) if (!config->device[i].addr && config->device[i].type) /* Though not strictly necessary, set the display index and port attachment to the device index, to ensure uniqueness */ - config->device[i].addr = DOD_DID_STD | DOD_FW_DETECT | \ - (config->device[i].type << 8) | \ + config->device[i].addr = DOD_DID_STD | DOD_FW_DETECT | + (config->device[i].type << 8) | (i << 4) | (i); acpigen_write_dword(config->device[i].addr); } |