From c8a649c08f92d4d2255626da4e1cd7a6d71469e7 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Sun, 10 Jun 2018 23:36:44 +0200 Subject: src: Use of device_t is deprecated Change-Id: I9cebfc5c77187bd81094031c43ff6df094908417 Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/27010 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/mainboard/hp/dl165_g6_fam10/bootblock.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mainboard/hp/dl165_g6_fam10/bootblock.c') diff --git a/src/mainboard/hp/dl165_g6_fam10/bootblock.c b/src/mainboard/hp/dl165_g6_fam10/bootblock.c index 80c926b1e3..e1e1a42895 100644 --- a/src/mainboard/hp/dl165_g6_fam10/bootblock.c +++ b/src/mainboard/hp/dl165_g6_fam10/bootblock.c @@ -14,13 +14,13 @@ #include #define SCH4307_CONFIG_PORT 0x162e -static inline void shc4307_enter_ext_func_mode(device_t dev) +static inline void shc4307_enter_ext_func_mode(pnp_devfn_t dev) { unsigned port = dev >> 8; outb(0x55, port); } -static inline void shc4307_exit_ext_func_mode(device_t dev) +static inline void shc4307_exit_ext_func_mode(pnp_devfn_t dev) { unsigned port = dev >> 8; outb(0xaa, port); -- cgit v1.2.3