Edward O'Callaghan (eocallaghan@alterapraxis.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/7137
-gerrit
commit db68ea0d0e8207b18156109e6a140e7e34f8312a Author: Edward O'Callaghan eocallaghan@alterapraxis.com Date: Tue Oct 21 07:51:24 2014 +1100
superio/common/conf_mode.c: Don't hide pointers with typedefs
Change-Id: Ia1bbf2f885acf601b8a8360a7cd72819f70ef6a6 Signed-off-by: Edward O'Callaghan eocallaghan@alterapraxis.com --- src/include/superio/conf_mode.h | 10 +++++----- src/superio/common/conf_mode.c | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/src/include/superio/conf_mode.h b/src/include/superio/conf_mode.h index c49cae7..9f7e3e6 100644 --- a/src/include/superio/conf_mode.h +++ b/src/include/superio/conf_mode.h @@ -24,11 +24,11 @@ #include <device/pnp.h>
/* Common enter/exit implementations */ -void pnp_enter_conf_mode_55(device_t dev); -void pnp_enter_conf_mode_8787(device_t dev); -void pnp_exit_conf_mode_aa(device_t dev); -void pnp_enter_conf_mode_870155aa(device_t dev); -void pnp_exit_conf_mode_0202(device_t dev); +void pnp_enter_conf_mode_55(struct device *dev); +void pnp_enter_conf_mode_8787(struct device *dev); +void pnp_exit_conf_mode_aa(struct device *dev); +void pnp_enter_conf_mode_870155aa(struct device *dev); +void pnp_exit_conf_mode_0202(struct device *dev);
extern const struct pnp_mode_ops pnp_conf_mode_55_aa; extern const struct pnp_mode_ops pnp_conf_mode_8787_aa; diff --git a/src/superio/common/conf_mode.c b/src/superio/common/conf_mode.c index f3e6277..271d4ef 100644 --- a/src/superio/common/conf_mode.c +++ b/src/superio/common/conf_mode.c @@ -23,23 +23,23 @@
/* Common enter/exit implementations */
-void pnp_enter_conf_mode_55(device_t dev) +void pnp_enter_conf_mode_55(struct device *dev) { outb(0x55, dev->path.pnp.port); }
-void pnp_enter_conf_mode_8787(device_t dev) +void pnp_enter_conf_mode_8787(struct device *dev) { outb(0x87, dev->path.pnp.port); outb(0x87, dev->path.pnp.port); }
-void pnp_exit_conf_mode_aa(device_t dev) +void pnp_exit_conf_mode_aa(struct device *dev) { outb(0xaa, dev->path.pnp.port); }
-void pnp_enter_conf_mode_870155aa(device_t dev) +void pnp_enter_conf_mode_870155aa(struct device *dev) { outb(0x87, dev->path.pnp.port); outb(0x01, dev->path.pnp.port); @@ -51,7 +51,7 @@ void pnp_enter_conf_mode_870155aa(device_t dev) outb(0x55, dev->path.pnp.port); }
-void pnp_exit_conf_mode_0202(device_t dev) +void pnp_exit_conf_mode_0202(struct device *dev) { outb(0x02, dev->path.pnp.port); outb(0x02, dev->path.pnp.port + 1);