summaryrefslogtreecommitdiff
path: root/src/mainboard/google/parrot/mainboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/parrot/mainboard.c')
-rw-r--r--src/mainboard/google/parrot/mainboard.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mainboard/google/parrot/mainboard.c b/src/mainboard/google/parrot/mainboard.c
index 4d357f898b..9940c14f4a 100644
--- a/src/mainboard/google/parrot/mainboard.c
+++ b/src/mainboard/google/parrot/mainboard.c
@@ -41,13 +41,13 @@ void mainboard_suspend_resume(void)
}
-static void mainboard_init(device_t dev)
+static void mainboard_init(struct device *dev)
{
/* Initialize the Embedded Controller */
parrot_ec_init();
}
-static int parrot_onboard_smbios_data(device_t dev, int *handle,
+static int parrot_onboard_smbios_data(struct device *dev, int *handle,
unsigned long *current)
{
int len = 0;
@@ -78,7 +78,7 @@ static int parrot_onboard_smbios_data(device_t dev, int *handle,
// mainboard_enable is executed as first thing after
// enumerate_buses().
-static void mainboard_enable(device_t dev)
+static void mainboard_enable(struct device *dev)
{
dev->ops->init = mainboard_init;
dev->ops->get_smbios_data = parrot_onboard_smbios_data;