summaryrefslogtreecommitdiff
path: root/src/mainboard/google/butterfly/chromeos.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/butterfly/chromeos.c')
-rw-r--r--src/mainboard/google/butterfly/chromeos.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/google/butterfly/chromeos.c b/src/mainboard/google/butterfly/chromeos.c
index 42f61896ea..7a74ed5e47 100644
--- a/src/mainboard/google/butterfly/chromeos.c
+++ b/src/mainboard/google/butterfly/chromeos.c
@@ -37,7 +37,7 @@
void fill_lb_gpios(struct lb_gpios *gpios)
{
- device_t dev = dev_find_slot(0, PCI_DEVFN(0x1f,0));
+ struct device *dev = dev_find_slot(0, PCI_DEVFN(0x1f, 0));
u16 gpio_base = pci_read_config16(dev, GPIOBASE) & 0xfffe;
int lidswitch = 0;