From 2c9d2cf75c6b12132f1f2c43ef9c01b51f741d26 Mon Sep 17 00:00:00 2001 From: Edward O'Callaghan Date: Mon, 27 Oct 2014 23:29:29 +1100 Subject: {arch,cpu,drivers,ec}: Don't hide pointers behind typedefs Change-Id: Id88bb4367d6045f6fbf185f0562ac72c04ee5f84 Signed-off-by: Edward O'Callaghan Signed-off-by: Nico Huber Reviewed-on: http://review.coreboot.org/7146 Tested-by: build bot (Jenkins) --- src/ec/kontron/it8516e/ec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ec/kontron/it8516e') diff --git a/src/ec/kontron/it8516e/ec.c b/src/ec/kontron/it8516e/ec.c index 925b7ea524..7827a1d409 100644 --- a/src/ec/kontron/it8516e/ec.c +++ b/src/ec/kontron/it8516e/ec.c @@ -211,7 +211,7 @@ static void it8516e_set_fan_from_options(const config_t *const config, } } -static void it8516e_pm2_init(const device_t dev) +static void it8516e_pm2_init(struct device *dev) { const config_t *const config = dev->chip_info; @@ -251,7 +251,7 @@ static struct pnp_info it8516e_dev_infos[] = { { NULL, IT8516E_LDN_PM3, PNP_IO0 | PNP_IO1 | PNP_IRQ0, { 0x07ff, }, { 0x07ff, }, }, }; -static void it8516e_enable(const device_t dev) +static void it8516e_enable(struct device *dev) { pnp_enable_devices(dev, &pnp_ops, ARRAY_SIZE(it8516e_dev_infos), it8516e_dev_infos); -- cgit v1.2.3