From 061d781e993b1fffd559a0af08cbb41a4a0675c7 Mon Sep 17 00:00:00 2001 From: Antonello Dettori Date: Tue, 30 Aug 2016 22:05:32 +0200 Subject: southbridge/intel/i82801gx: transition away from device_t Replace the use of the old device_t definition inside southbridge/intel/i82801gx. The patch has been tested both with the arch/io.h definition of device_t enabled and disabled in order to ensure compatibility while the transaction takes place. Change-Id: Ia257318a7068b54739f319bfbba35f2a07826940 Signed-off-by: Antonello Dettori Reviewed-on: https://review.coreboot.org/16370 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- src/southbridge/intel/i82801gx/i82801gx.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/southbridge/intel/i82801gx/i82801gx.h') diff --git a/src/southbridge/intel/i82801gx/i82801gx.h b/src/southbridge/intel/i82801gx/i82801gx.h index d4adc182ca..7e8b988fbd 100644 --- a/src/southbridge/intel/i82801gx/i82801gx.h +++ b/src/southbridge/intel/i82801gx/i82801gx.h @@ -43,7 +43,9 @@ #if !defined(__ASSEMBLER__) #if !defined(__PRE_RAM__) #include "chip.h" -extern void i82801gx_enable(device_t dev); +#if !defined(__SIMPLE_DEVICE__) +void i82801gx_enable(device_t dev); +#endif void gpi_route_interrupt(u8 gpi, u8 mode); #else void enable_smbus(void); -- cgit v1.2.3