rtc: Kconfig: Split off QMSI into separate Kconfig
This patch splits off the QMSI RTC into a separate Kconfig file in preparation for adding more RTC drivers. Signed-off-by: Andy Gross <agross@kernel.org>
This commit is contained in:
parent
ba2405023b
commit
4aaaccc739
2 changed files with 23 additions and 19 deletions
|
@ -17,14 +17,6 @@ menuconfig RTC
|
|||
|
||||
if RTC
|
||||
|
||||
|
||||
config RTC_QMSI
|
||||
bool "QMSI RTC Driver"
|
||||
depends on QMSI
|
||||
default n
|
||||
help
|
||||
Build QMSI RTC driver.
|
||||
|
||||
config RTC_0_NAME
|
||||
string "Driver instance name"
|
||||
default "RTC_0"
|
||||
|
@ -32,17 +24,8 @@ config RTC_0_NAME
|
|||
help
|
||||
RTC driver instance name
|
||||
|
||||
config RTC_0_IRQ_PRI
|
||||
int "RTC Driver Interrupt priority"
|
||||
depends on RTC_QMSI
|
||||
help
|
||||
RTC interrupt priority.
|
||||
comment "RTC drivers"
|
||||
|
||||
config RTC_QMSI_API_REENTRANCY
|
||||
bool
|
||||
prompt "RTC shim driver API reentrancy"
|
||||
default n
|
||||
help
|
||||
Enable support for RTC shim driver API reentrancy.
|
||||
source "drivers/rtc/Kconfig.qmsi"
|
||||
|
||||
endif # RTC
|
||||
|
|
21
drivers/rtc/Kconfig.qmsi
Normal file
21
drivers/rtc/Kconfig.qmsi
Normal file
|
@ -0,0 +1,21 @@
|
|||
config RTC_QMSI
|
||||
bool "QMSI RTC Driver"
|
||||
depends on QMSI
|
||||
default n
|
||||
help
|
||||
Build QMSI RTC driver.
|
||||
|
||||
if RTC_QMSI
|
||||
|
||||
config RTC_0_IRQ_PRI
|
||||
int "RTC Driver Interrupt priority"
|
||||
help
|
||||
RTC interrupt priority.
|
||||
|
||||
config RTC_QMSI_API_REENTRANCY
|
||||
bool
|
||||
prompt "RTC shim driver API reentrancy"
|
||||
default n
|
||||
help
|
||||
Enable support for RTC shim driver API reentrancy.
|
||||
endif
|
Loading…
Add table
Add a link
Reference in a new issue