]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
memory: mtk-smi: Allow building as module
authorYong Wu <yong.wu@mediatek.com>
Tue, 26 Jan 2021 06:00:55 +0000 (14:00 +0800)
committerKrzysztof Kozlowski <krzk@kernel.org>
Tue, 26 Jan 2021 19:47:51 +0000 (20:47 +0100)
commit50fc8d9232cdc64b9e9d1b9488452f153de52b69
tree67bd071ad3502a5327ef6e27c7f4dee134fc80af
parent94e9dd43cf327366388c8f146bccdc6322c0d999
memory: mtk-smi: Allow building as module

Add support for building the SMI driver as module. Switch MTK_SMI to
tristate, and add module_exit/module_license.

Signed-off-by: Yong Wu <yong.wu@mediatek.com>
Link: https://lore.kernel.org/r/20210126060055.11050-1-yong.wu@mediatek.com
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
drivers/memory/Kconfig
drivers/memory/mtk-smi.c
include/soc/mediatek/smi.h