firmware: conditionally compile has_si5324

avoids unused warnings where this module is not used.
This commit is contained in:
Astro 2019-08-26 23:25:29 +02:00 committed by Sébastien Bourdeauducq
parent c03c35f375
commit 71b3c66af9
1 changed files with 1 additions and 4 deletions

View File

@ -25,10 +25,7 @@ pub mod mailbox;
#[cfg(has_kernel_cpu)]
pub mod rpc_queue;
#[cfg(any(soc_platform = "kasli",
soc_platform = "sayma_amc",
soc_platform = "sayma_rtm",
soc_platform = "kc705"))]
#[cfg(any(soc_platform = "kasli", has_si5324))]
mod pca9548;
#[cfg(has_si5324)]
pub mod si5324;