From 38f1d13a755548ee8afaf9b5e19d8b6709b9e55d Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Mon, 17 Sep 2018 08:44:18 +0200 Subject: 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 Reviewed-on: https://review.coreboot.org/28642 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/mainboard/google/auron/variant.h | 3 ++- src/mainboard/google/auron/variants/auron_paine/variant.c | 3 +-- src/mainboard/google/auron/variants/auron_yuna/variant.c | 3 +-- src/mainboard/google/auron/variants/buddy/variant.c | 3 +-- src/mainboard/google/auron/variants/gandof/variant.c | 3 +-- src/mainboard/google/auron/variants/lulu/variant.c | 3 +-- src/mainboard/google/auron/variants/samus/variant.c | 3 +-- 7 files changed, 8 insertions(+), 13 deletions(-) (limited to 'src/mainboard/google/auron') 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 #include -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 #include -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 #include -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 #include -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 #include -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 #include -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; -- cgit v1.2.3