[coreboot-gerrit] Change in coreboot[master]: mb/hp/dl165_g6_fam10: Get rid of device_t

Elyes HAOUAS (Code Review) gerrit at coreboot.org
Sun Jun 10 10:49:24 CEST 2018


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 at 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);

-- 
To view, visit https://review.coreboot.org/26999
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I6069f3dac7234459e810c0c8ad2efe2e57d665f9
Gerrit-Change-Number: 26999
Gerrit-PatchSet: 1
Gerrit-Owner: Elyes HAOUAS <ehaouas at noos.fr>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180610/aa540f57/attachment.html>


More information about the coreboot-gerrit mailing list