summaryrefslogtreecommitdiff
path: root/src/mainboard/google
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-09-17 08:44:18 +0200
committerPatrick Georgi <pgeorgi@google.com>2018-10-18 16:22:03 +0000
commit38f1d13a755548ee8afaf9b5e19d8b6709b9e55d (patch)
treedd9d756059a029174459b55d29dbb0ac0539cdd0 /src/mainboard/google
parent32ca3cd246746c2a1d584e4a63bcd43ebb7fe23f (diff)
src/{sb/intel,mb/google/auron}: Don't use device_t
Use of device_t is deprecated. Change-Id: I564319506870f75eab58cce535d4e3535a64a993 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/28642 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/mainboard/google')
-rw-r--r--src/mainboard/google/auron/variant.h3
-rw-r--r--src/mainboard/google/auron/variants/auron_paine/variant.c3
-rw-r--r--src/mainboard/google/auron/variants/auron_yuna/variant.c3
-rw-r--r--src/mainboard/google/auron/variants/buddy/variant.c3
-rw-r--r--src/mainboard/google/auron/variants/gandof/variant.c3
-rw-r--r--src/mainboard/google/auron/variants/lulu/variant.c3
-rw-r--r--src/mainboard/google/auron/variants/samus/variant.c3
7 files changed, 8 insertions, 13 deletions
diff --git a/src/mainboard/google/auron/variant.h b/src/mainboard/google/auron/variant.h
index b11ea1eb0f..9c27a9a652 100644
--- a/src/mainboard/google/auron/variant.h
+++ b/src/mainboard/google/auron/variant.h
@@ -18,7 +18,8 @@
#include <device/device.h>
#include <soc/romstage.h>
-int variant_smbios_data(device_t dev, int *handle, unsigned long *current);
+int variant_smbios_data(struct device *dev, int *handle,
+ unsigned long *current);
void variant_romstage_entry(struct romstage_params *rp);
void lan_init(void);
diff --git a/src/mainboard/google/auron/variants/auron_paine/variant.c b/src/mainboard/google/auron/variants/auron_paine/variant.c
index b924976d06..62d4f522f7 100644
--- a/src/mainboard/google/auron/variants/auron_paine/variant.c
+++ b/src/mainboard/google/auron/variants/auron_paine/variant.c
@@ -15,8 +15,7 @@
#include <variant/onboard.h>
#include <mainboard/google/auron/variant.h>
-int variant_smbios_data(device_t dev, int *handle,
- unsigned long *current)
+int variant_smbios_data(struct device *dev, int *handle, unsigned long *current)
{
int len = 0;
diff --git a/src/mainboard/google/auron/variants/auron_yuna/variant.c b/src/mainboard/google/auron/variants/auron_yuna/variant.c
index b924976d06..62d4f522f7 100644
--- a/src/mainboard/google/auron/variants/auron_yuna/variant.c
+++ b/src/mainboard/google/auron/variants/auron_yuna/variant.c
@@ -15,8 +15,7 @@
#include <variant/onboard.h>
#include <mainboard/google/auron/variant.h>
-int variant_smbios_data(device_t dev, int *handle,
- unsigned long *current)
+int variant_smbios_data(struct device *dev, int *handle, unsigned long *current)
{
int len = 0;
diff --git a/src/mainboard/google/auron/variants/buddy/variant.c b/src/mainboard/google/auron/variants/buddy/variant.c
index c682e367b2..23942fb38e 100644
--- a/src/mainboard/google/auron/variants/buddy/variant.c
+++ b/src/mainboard/google/auron/variants/buddy/variant.c
@@ -24,8 +24,7 @@
#include <variant/onboard.h>
#include <mainboard/google/auron/variant.h>
-int variant_smbios_data(device_t dev, int *handle,
- unsigned long *current)
+int variant_smbios_data(struct device *dev, int *handle, unsigned long *current)
{
int len = 0;
diff --git a/src/mainboard/google/auron/variants/gandof/variant.c b/src/mainboard/google/auron/variants/gandof/variant.c
index ad88f0d729..cd7a66332d 100644
--- a/src/mainboard/google/auron/variants/gandof/variant.c
+++ b/src/mainboard/google/auron/variants/gandof/variant.c
@@ -18,8 +18,7 @@
#include <variant/onboard.h>
#include <mainboard/google/auron/variant.h>
-int variant_smbios_data(device_t dev, int *handle,
- unsigned long *current)
+int variant_smbios_data(struct device *dev, int *handle, unsigned long *current)
{
int len = 0;
diff --git a/src/mainboard/google/auron/variants/lulu/variant.c b/src/mainboard/google/auron/variants/lulu/variant.c
index 9d77c27c8f..97302b8486 100644
--- a/src/mainboard/google/auron/variants/lulu/variant.c
+++ b/src/mainboard/google/auron/variants/lulu/variant.c
@@ -18,8 +18,7 @@
#include <variant/onboard.h>
#include <mainboard/google/auron/variant.h>
-int variant_smbios_data(device_t dev, int *handle,
- unsigned long *current)
+int variant_smbios_data(struct device *dev, int *handle, unsigned long *current)
{
int len = 0;
diff --git a/src/mainboard/google/auron/variants/samus/variant.c b/src/mainboard/google/auron/variants/samus/variant.c
index 0c50e1f1d5..32a0d29b74 100644
--- a/src/mainboard/google/auron/variants/samus/variant.c
+++ b/src/mainboard/google/auron/variants/samus/variant.c
@@ -26,8 +26,7 @@ const char *smbios_mainboard_version(void)
return samus_board_version();
}
-int variant_smbios_data(device_t dev, int *handle,
- unsigned long *current)
+int variant_smbios_data(struct device *dev, int *handle, unsigned long *current)
{
/* N/A for SAMUS */
return 0;