drivers: ps2: Compile out PS/2 in terms of an eSPI peripheral
Add the possibility to compile out the PS/2 driver if the application is not using the KBC 8042 peripheral. This helps to remove warnings for unused PS/2 isr function Signed-off-by: Francisco Munoz <francisco.munoz.ruiz@intel.com>
This commit is contained in:
parent
11c7e5a157
commit
377aa876a3
1 changed files with 3 additions and 2 deletions
|
@ -5,9 +5,10 @@
|
|||
|
||||
menuconfig PS2_XEC
|
||||
bool "XEC Microchip PS2 driver"
|
||||
depends on SOC_FAMILY_MEC
|
||||
depends on SOC_FAMILY_MEC && ESPI_PERIPHERAL_8042_KBC
|
||||
help
|
||||
Enable the Microchip XEC PS2 IO driver.
|
||||
Enable the Microchip XEC PS2 IO driver. The driver also
|
||||
depends on the KBC 8042 keyboard controller.
|
||||
|
||||
if PS2_XEC
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue