diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2018-06-10 23:36:44 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-06-14 09:29:31 +0000 |
commit | c8a649c08f92d4d2255626da4e1cd7a6d71469e7 (patch) | |
tree | 14a899738d09b37030585aca3b59344595208e36 /src/mainboard | |
parent | 846b4941fee842bc359fa2b611cf0c3fc4f158b2 (diff) | |
download | coreboot-c8a649c08f92d4d2255626da4e1cd7a6d71469e7.tar.xz |
src: Use of device_t is deprecated
Change-Id: I9cebfc5c77187bd81094031c43ff6df094908417
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/27010
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/mainboard')
-rw-r--r-- | src/mainboard/hp/dl165_g6_fam10/bootblock.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 <device/pnp_def.h> #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); |