diff options
author | Edward O'Callaghan <eocallaghan@alterapraxis.com> | 2014-10-21 07:51:24 +1100 |
---|---|---|
committer | Edward O'Callaghan <eocallaghan@alterapraxis.com> | 2014-10-27 12:50:12 +0100 |
commit | 377fd754932922e8c907994ef3e4d8ab925c6132 (patch) | |
tree | 69a2acc2f3dc9f5097d1face567d822ec3752407 /src/superio/common | |
parent | 795f96e2b947a950e4c56e34d1706308f8b2cec6 (diff) |
superio/common/conf_mode.c: Don't hide pointers with typedefs
Change-Id: Ia1bbf2f885acf601b8a8360a7cd72819f70ef6a6
Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Reviewed-on: http://review.coreboot.org/7137
Reviewed-by: Nico Huber <nico.h@gmx.de>
Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/superio/common')
-rw-r--r-- | src/superio/common/conf_mode.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/superio/common/conf_mode.c b/src/superio/common/conf_mode.c index f3e6277b22..271d4ef613 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); |