Query Regarding Kconfig: Structure of "default" element

17 Views Asked by At

In the Kconfig snippet provided below:

config USB_ARCH_HAS_HCD
boolean
default y if USB_ARCH_HAS_OHCI
default PCI

I'm curious about the structure of the last line, which differs from the preceding lines. Instead of being written as:

default y if PCI

Could someone explain why the last line in this Kconfig code is structured differently?

0

There are 0 best solutions below