soc: x86/ia32: add missing curly braces in soc.h
The if-statement in soc/x86/ia32/soc.h is missing curly braces. So add them. Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
parent
6f27412c5e
commit
b504f8b6a2
|
@ -53,8 +53,10 @@ static inline int pci_pin2irq(int bus, int dev, int pin)
|
|||
{
|
||||
ARG_UNUSED(bus);
|
||||
|
||||
if ((pin < PCI_INTA) || (pin > PCI_INTD))
|
||||
if ((pin < PCI_INTA) || (pin > PCI_INTD)) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
return 10 + (((pin + dev - 1) >> 1) & 1);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue