{arch,cpu,drivers,ec}: Don't hide pointers behind typedefs
Change-Id: Id88bb4367d6045f6fbf185f0562ac72c04ee5f84 Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: http://review.coreboot.org/7146 Tested-by: build bot (Jenkins)
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user