superio/*/superio.c: Don't hide pointer types behind typedefs

Hiding pointer types behind 'typedef's is usually not a great
idea at the best of times. Worse the typedef becomes an integer
at different stages in Coreboot. Let us refrain from doing this
at all.

Change-Id: Ia2ca8c98bb489daaa58f379433875864f6efabc8
Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Reviewed-on: http://review.coreboot.org/7136
Tested-by: build bot (Jenkins)
Reviewed-by: Nico Huber <nico.h@gmx.de>
This commit is contained in:
Edward O'Callaghan
2014-10-21 07:43:41 +11:00
parent 85836c2215
commit f21bdc3020
50 changed files with 152 additions and 152 deletions

View File

@@ -24,19 +24,19 @@
#include "i3100.h"
#include <arch/io.h>
static void pnp_enter_ext_func_mode(device_t dev)
static void pnp_enter_ext_func_mode(struct device *dev)
{
outb(0x80, dev->path.pnp.port);
outb(0x86, dev->path.pnp.port);
}
static void pnp_exit_ext_func_mode(device_t dev)
static void pnp_exit_ext_func_mode(struct device *dev)
{
outb(0x68, dev->path.pnp.port);
outb(0x08, dev->path.pnp.port);
}
static void i3100_init(device_t dev)
static void i3100_init(struct device *dev)
{
if (!dev->enabled)
return;