summaryrefslogtreecommitdiff
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.xz
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 8b6f1caf01..7769a86f2c 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 f374e6aa20..2c8fd71323 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 7f395b4be8..bee9ebe95e 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 a53cc35126..58e08023ab 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 27bdd6ed3c..9cfba04c97 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 3c0cda05f0..c6513b7d9e 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 d67539f706..7eb6392312 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 99882a58c0..2295f29f61 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 170fd8544f..f23f97cd11 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 6b15901803..7c0faf4c32 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 09c3b5eeba..b73dc7b0d5 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)