summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
authorFred Reitberger <reitbergerfred@gmail.com>2023-01-06 11:16:53 -0500
committerFelix Held <felix-coreboot@felixheld.de>2023-01-09 17:30:58 +0000
commit92982b669c74126515f26cc6b6485dc2ffe1a944 (patch)
tree7bb006e1c159e0f1002e717122ce24dd55c3bfa5 /src/soc
parent45174112b6f480ccadcb452302d5fb3d7638401a (diff)
soc/amd/common/block/graphics: Fix whitespace consistency
Replace spaces with tabs for consistency. Signed-off-by: Fred Reitberger <reitbergerfred@gmail.com> Change-Id: I65b9bec7443094dfd2f6b0d6b11e0100023873b2 Reviewed-on: https://review.coreboot.org/c/coreboot/+/71721 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/amd/common/block/graphics/graphics.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/soc/amd/common/block/graphics/graphics.c b/src/soc/amd/common/block/graphics/graphics.c
index d3def7b23e..8910240d76 100644
--- a/src/soc/amd/common/block/graphics/graphics.c
+++ b/src/soc/amd/common/block/graphics/graphics.c
@@ -17,12 +17,12 @@ struct atif_verify_interface_output {
uint32_t supported_functions; /* Bit n set if function n+1 supported. */
};
-#define ATIF_FUNCTION_QUERY_BRIGHTNESS_TRANSFER_CHARACTERISTICS 0x10
-# define ATIF_QBTC_REQUEST_LCD1 0
+#define ATIF_FUNCTION_QUERY_BRIGHTNESS_TRANSFER_CHARACTERISTICS 0x10
+# define ATIF_QBTC_REQUEST_LCD1 0
/* error codes */
-# define ATIF_QBTC_ERROR_CODE_SUCCESS 0
-# define ATIF_QBTC_ERROR_CODE_FAILURE 1
-# define ATIF_QBTC_ERROR_CODE_DEVICE_NOT_SUPPORTED 2
+# define ATIF_QBTC_ERROR_CODE_SUCCESS 0
+# define ATIF_QBTC_ERROR_CODE_FAILURE 1
+# define ATIF_QBTC_ERROR_CODE_DEVICE_NOT_SUPPORTED 2
struct atif_brightness_input {
uint16_t size;
/* ATIF doc indicates this field is a word, but the kernel drivers uses a byte. */
@@ -172,7 +172,7 @@ const struct device_operations amd_graphics_ops = {
.set_resources = graphics_set_resources,
.enable_resources = pci_dev_enable_resources,
.init = graphics_dev_init,
- .scan_bus = scan_static_bus,
+ .scan_bus = scan_static_bus,
.ops_pci = &pci_dev_ops_pci,
.write_acpi_tables = pci_rom_write_acpi_tables,
.acpi_fill_ssdt = graphics_fill_ssdt,