soc: mediatek: mtk-svs: keep svs alive if CONFIG_DEBUG_FS not supported
authorRoger Lu <roger.lu@mediatek.com>
Wed, 11 Jan 2023 07:45:21 +0000 (15:45 +0800)
committerMatthias Brugger <matthias.bgg@gmail.com>
Tue, 31 Jan 2023 13:23:55 +0000 (14:23 +0100)
commit8bf305087629a98224aa97769587434ea4016767
treec047cf49a286917dbe8c784932b503adc1a2a0f0
parent37fa2aff8fe490771f2229b0f2fcd15796b1bfca
soc: mediatek: mtk-svs: keep svs alive if CONFIG_DEBUG_FS not supported

Some projects might not support CONFIG_DEBUG_FS but still needs svs to be
alive. Therefore, enclose debug cmd codes with CONFIG_DEBUG_FS to make sure
svs can be alive when CONFIG_DEBUG_FS not supported.

Signed-off-by: Roger Lu <roger.lu@mediatek.com>
Link: https://lore.kernel.org/r/20230111074528.29354-8-roger.lu@mediatek.com
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
drivers/soc/mediatek/mtk-svs.c