Elyes HAOUAS has uploaded this change for review. ( https://review.coreboot.org/28684
Change subject: mb/google/auron/variants: Don't use device_t ......................................................................
mb/google/auron/variants: Don't use device_t
Use of device_t is deprecated.
Change-Id: Iafda1af7639e5f8f43b431794d9da8f8bc20661d Signed-off-by: Elyes HAOUAS ehaouas@noos.fr --- M src/mainboard/google/auron/variant.h M src/mainboard/google/auron/variants/auron_paine/variant.c M src/mainboard/google/auron/variants/auron_yuna/variant.c M src/mainboard/google/auron/variants/buddy/variant.c M src/mainboard/google/auron/variants/gandof/variant.c M src/mainboard/google/auron/variants/lulu/variant.c M src/mainboard/google/auron/variants/samus/variant.c 7 files changed, 14 insertions(+), 13 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/84/28684/1
diff --git a/src/mainboard/google/auron/variant.h b/src/mainboard/google/auron/variant.h index b11ea1e..9c27a9a6 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 b924976..6bdc449 100644 --- a/src/mainboard/google/auron/variants/auron_paine/variant.c +++ b/src/mainboard/google/auron/variants/auron_paine/variant.c @@ -15,8 +15,8 @@ #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 b924976..6bdc449 100644 --- a/src/mainboard/google/auron/variants/auron_yuna/variant.c +++ b/src/mainboard/google/auron/variants/auron_yuna/variant.c @@ -15,8 +15,8 @@ #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 c682e36..a55abf1 100644 --- a/src/mainboard/google/auron/variants/buddy/variant.c +++ b/src/mainboard/google/auron/variants/buddy/variant.c @@ -24,8 +24,8 @@ #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 ad88f0d..fd701be 100644 --- a/src/mainboard/google/auron/variants/gandof/variant.c +++ b/src/mainboard/google/auron/variants/gandof/variant.c @@ -18,8 +18,8 @@ #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 9d77c27..b0ff04a 100644 --- a/src/mainboard/google/auron/variants/lulu/variant.c +++ b/src/mainboard/google/auron/variants/lulu/variant.c @@ -18,8 +18,8 @@ #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 0c50e1f..8b007c5 100644 --- a/src/mainboard/google/auron/variants/samus/variant.c +++ b/src/mainboard/google/auron/variants/samus/variant.c @@ -26,8 +26,8 @@ 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;