sb/intel/lynxpoint: Drop `config_t` typedef
Tested with BUILD_TIMELESS=1, Asrock B85M Pro4 remains identical.
Change-Id: I550198aae22fbe39f4b461332a10de82c78cd191
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/57498
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
diff --git a/src/southbridge/intel/lynxpoint/sata.c b/src/southbridge/intel/lynxpoint/sata.c
index 1b69b80..c90c096 100644
--- a/src/southbridge/intel/lynxpoint/sata.c
+++ b/src/southbridge/intel/lynxpoint/sata.c
@@ -17,8 +17,6 @@
#define SATA_PORT_MASK 0x3f
#endif
-typedef struct southbridge_intel_lynxpoint_config config_t;
-
static inline u32 sir_read(struct device *dev, int idx)
{
pci_write_config32(dev, SATA_SIRI, idx);
@@ -46,7 +44,7 @@
u32 *abar;
/* Get the chip configuration */
- config_t *config = dev->chip_info;
+ struct southbridge_intel_lynxpoint_config *config = dev->chip_info;
printk(BIOS_DEBUG, "SATA: Initializing...\n");
@@ -199,7 +197,7 @@
static void sata_enable(struct device *dev)
{
/* Get the chip configuration */
- config_t *config = dev->chip_info;
+ struct southbridge_intel_lynxpoint_config *config = dev->chip_info;
if (!config)
return;