Elyes HAOUAS has uploaded this change for review. ( https://review.coreboot.org/26999
Change subject: mb/hp/dl165_g6_fam10: Get rid of device_t ......................................................................
mb/hp/dl165_g6_fam10: Get rid of device_t
Use pnp_devfn_t instead of device_t
Change-Id: I6069f3dac7234459e810c0c8ad2efe2e57d665f9 Signed-off-by: Elyes HAOUAS ehaouas@noos.fr --- M src/mainboard/hp/dl165_g6_fam10/bootblock.c 1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/99/26999/1
diff --git a/src/mainboard/hp/dl165_g6_fam10/bootblock.c b/src/mainboard/hp/dl165_g6_fam10/bootblock.c index 80c926b..e1e1a42 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);