summaryrefslogtreecommitdiffstats
path: root/src/superio/nsc
diff options
context:
space:
mode:
authorEdward O'Callaghan <eocallaghan@alterapraxis.com>2014-10-21 07:43:41 +1100
committerEdward O'Callaghan <eocallaghan@alterapraxis.com>2014-10-27 12:51:00 +0100
commitf21bdc3020b24cce585c4df69b06913177c94182 (patch)
tree622d01b8c806f0e69c098b0c87fc899f4ba1754d /src/superio/nsc
parent85836c2215498ff18746b3a7e85ed684cf2e119e (diff)
downloadcoreboot-f21bdc3020b24cce585c4df69b06913177c94182.tar.gz
coreboot-f21bdc3020b24cce585c4df69b06913177c94182.tar.bz2
coreboot-f21bdc3020b24cce585c4df69b06913177c94182.zip
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>
Diffstat (limited to 'src/superio/nsc')
-rw-r--r--src/superio/nsc/pc8374/superio.c2
-rw-r--r--src/superio/nsc/pc87309/superio.c2
-rw-r--r--src/superio/nsc/pc87351/superio.c2
-rw-r--r--src/superio/nsc/pc87360/superio.c2
-rw-r--r--src/superio/nsc/pc87366/superio.c2
-rw-r--r--src/superio/nsc/pc87382/superio.c2
-rw-r--r--src/superio/nsc/pc87392/superio.c2
-rw-r--r--src/superio/nsc/pc87417/superio.c2
-rw-r--r--src/superio/nsc/pc87427/superio.c2
-rw-r--r--src/superio/nsc/pc97307/superio.c2
-rw-r--r--src/superio/nsc/pc97317/superio.c2
11 files changed, 11 insertions, 11 deletions
diff --git a/src/superio/nsc/pc8374/superio.c b/src/superio/nsc/pc8374/superio.c
index 8b6f1caf0148..7769a86f2c64 100644
--- a/src/superio/nsc/pc8374/superio.c
+++ b/src/superio/nsc/pc8374/superio.c
@@ -28,7 +28,7 @@
#include <stdlib.h>
#include "pc8374.h"
-static void init(device_t dev)
+static void init(struct device *dev)
{
if (!dev->enabled)
diff --git a/src/superio/nsc/pc87309/superio.c b/src/superio/nsc/pc87309/superio.c
index f374e6aa20a4..2c8fd7132372 100644
--- a/src/superio/nsc/pc87309/superio.c
+++ b/src/superio/nsc/pc87309/superio.c
@@ -25,7 +25,7 @@
#include <stdlib.h>
#include "pc87309.h"
-static void init(device_t dev)
+static void init(struct device *dev)
{
if (!dev->enabled)
diff --git a/src/superio/nsc/pc87351/superio.c b/src/superio/nsc/pc87351/superio.c
index 7f395b4be812..bee9ebe95e43 100644
--- a/src/superio/nsc/pc87351/superio.c
+++ b/src/superio/nsc/pc87351/superio.c
@@ -28,7 +28,7 @@
#include <stdlib.h>
#include "pc87351.h"
-static void init(device_t dev)
+static void init(struct device *dev)
{
if (!dev->enabled)
diff --git a/src/superio/nsc/pc87360/superio.c b/src/superio/nsc/pc87360/superio.c
index a53cc35126f3..58e08023ab0a 100644
--- a/src/superio/nsc/pc87360/superio.c
+++ b/src/superio/nsc/pc87360/superio.c
@@ -28,7 +28,7 @@
#include <stdlib.h>
#include "pc87360.h"
-static void init(device_t dev)
+static void init(struct device *dev)
{
if (!dev->enabled)
diff --git a/src/superio/nsc/pc87366/superio.c b/src/superio/nsc/pc87366/superio.c
index 27bdd6ed3c5b..9cfba04c974b 100644
--- a/src/superio/nsc/pc87366/superio.c
+++ b/src/superio/nsc/pc87366/superio.c
@@ -28,7 +28,7 @@
#include <stdlib.h>
#include "pc87366.h"
-static void init(device_t dev)
+static void init(struct device *dev)
{
if (!dev->enabled)
diff --git a/src/superio/nsc/pc87382/superio.c b/src/superio/nsc/pc87382/superio.c
index 3c0cda05f02d..c6513b7d9ee6 100644
--- a/src/superio/nsc/pc87382/superio.c
+++ b/src/superio/nsc/pc87382/superio.c
@@ -27,7 +27,7 @@
#include <stdlib.h>
#include "pc87382.h"
-static void init(device_t dev)
+static void init(struct device *dev)
{
if (!dev->enabled)
return;
diff --git a/src/superio/nsc/pc87392/superio.c b/src/superio/nsc/pc87392/superio.c
index d67539f7065a..7eb6392312f7 100644
--- a/src/superio/nsc/pc87392/superio.c
+++ b/src/superio/nsc/pc87392/superio.c
@@ -26,7 +26,7 @@
#include <stdlib.h>
#include "pc87392.h"
-static void init(device_t dev)
+static void init(struct device *dev)
{
if (!dev->enabled)
return;
diff --git a/src/superio/nsc/pc87417/superio.c b/src/superio/nsc/pc87417/superio.c
index 99882a58c0c1..2295f29f61d4 100644
--- a/src/superio/nsc/pc87417/superio.c
+++ b/src/superio/nsc/pc87417/superio.c
@@ -29,7 +29,7 @@
#include <stdlib.h>
#include "pc87417.h"
-static void init(device_t dev)
+static void init(struct device *dev)
{
if (!dev->enabled)
diff --git a/src/superio/nsc/pc87427/superio.c b/src/superio/nsc/pc87427/superio.c
index 170fd8544f4b..f23f97cd11fd 100644
--- a/src/superio/nsc/pc87427/superio.c
+++ b/src/superio/nsc/pc87427/superio.c
@@ -28,7 +28,7 @@
#include <pc80/keyboard.h>
#include "pc87427.h"
-static void init(device_t dev)
+static void init(struct device *dev)
{
if (!dev->enabled)
diff --git a/src/superio/nsc/pc97307/superio.c b/src/superio/nsc/pc97307/superio.c
index 6b1590180372..7c0faf4c329f 100644
--- a/src/superio/nsc/pc97307/superio.c
+++ b/src/superio/nsc/pc97307/superio.c
@@ -26,7 +26,7 @@
#include <pc80/keyboard.h>
#include "pc97307.h"
-static void init(device_t dev)
+static void init(struct device *dev)
{
u8 reg8;
diff --git a/src/superio/nsc/pc97317/superio.c b/src/superio/nsc/pc97317/superio.c
index 09c3b5eeba71..b73dc7b0d5a9 100644
--- a/src/superio/nsc/pc97317/superio.c
+++ b/src/superio/nsc/pc97317/superio.c
@@ -26,7 +26,7 @@
#include <pc80/keyboard.h>
#include "pc97317.h"
-static void init(device_t dev)
+static void init(struct device *dev)
{
if (!dev->enabled)