From f21bdc3020b24cce585c4df69b06913177c94182 Mon Sep 17 00:00:00 2001 From: Edward O'Callaghan Date: Tue, 21 Oct 2014 07:43:41 +1100 Subject: 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 Reviewed-on: http://review.coreboot.org/7136 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber --- src/superio/nsc/pc8374/superio.c | 2 +- src/superio/nsc/pc87309/superio.c | 2 +- src/superio/nsc/pc87351/superio.c | 2 +- src/superio/nsc/pc87360/superio.c | 2 +- src/superio/nsc/pc87366/superio.c | 2 +- src/superio/nsc/pc87382/superio.c | 2 +- src/superio/nsc/pc87392/superio.c | 2 +- src/superio/nsc/pc87417/superio.c | 2 +- src/superio/nsc/pc87427/superio.c | 2 +- src/superio/nsc/pc97307/superio.c | 2 +- src/superio/nsc/pc97317/superio.c | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) (limited to 'src/superio/nsc') 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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #include "pc97317.h" -static void init(device_t dev) +static void init(struct device *dev) { if (!dev->enabled) -- cgit v1.2.3