zephyr/drivers/aio/Kconfig
Vincenzo Frascino 9468f8183d aio: Cleanup AIO comparator driver
This patch addresses the following issues:
* Aligns the Kconfig code style with Zephyr projects requirements.
* Removes redundant "depends on" from Kconfig.
* Adds static to the containing file scope declarations.

Change-Id: I03326a800392cffda00b47949981b7e6d119b90f
Signed-off-by: Vincenzo Frascino <vincenzo.frascino@linaro.org>
2016-11-18 19:00:23 +00:00

48 lines
1.2 KiB
Plaintext

# Kconfig - AIO/Comparator configuration options
#
#
# Copyright (c) 2015-2016 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#
# AIO/Comparator options
#
menuconfig AIO_COMPARATOR
bool
prompt "AIO/Comparator Configuration"
default n
if AIO_COMPARATOR
menuconfig AIO_COMPARATOR_QMSI
bool "Enable QMSI AIO/comparator driver"
default n
depends on QMSI
help
QMSI AIO/Comparator driver.
config AIO_COMPARATOR_0_NAME
string "Device name for AIO/comparator"
default "AIO_CMP_0"
help
Device name for the AIO/comparator.
config AIO_COMPARATOR_0_IRQ_PRI
int "IRQ Priority for AIO/comparator"
default 3
help
IRQ Priority for the AIO/comparator.
endif # AIO_COMPARATOR