summaryrefslogtreecommitdiff
path: root/src/mainboard/hp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/hp')
-rw-r--r--src/mainboard/hp/dl165_g6_fam10/bootblock.c4
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);