diff options
author | Arnd Bergmann <arnd@arndb.de> | 2021-02-03 00:19:40 +0300 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2021-02-03 00:19:40 +0300 |
commit | 993fd7d6fef65330b1a4abd0005ba09e0d8de3de (patch) | |
tree | ecb3a59e9ead2a324f0846ff1580dab4f09dfec3 /include | |
parent | 4fe05d21a9b1e5c5a8ad7380afd7edeae078e00f (diff) | |
parent | 50fc8d9232cdc64b9e9d1b9488452f153de52b69 (diff) | |
download | linux-993fd7d6fef65330b1a4abd0005ba09e0d8de3de.tar.xz |
Merge tag 'memory-controller-drv-5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux-mem-ctrl into arm/drivers
Memory controller drivers for v5.12
1. Mediatek SMI: fix PM usage counter and make the driver modular.
2. Renesas RPC-IF: add support for RZ/G2 series.
3. Minor fixes.
* tag 'memory-controller-drv-5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux-mem-ctrl:
memory: mtk-smi: Allow building as module
memory: ti-aemif: Drop child node when jumping out loop
memory: mtk-smi: Use platform_register_drivers
memory: renesas-rpc-if: Add RZ/G2 to Kconfig description
dt-bindings: memory: renesas,rpc-if: Add support for RZ/G2 Series
memory: emif: Use DEFINE_SPINLOCK() for spinlock
memory: mtk-smi: Fix PM usage counter unbalance in mtk_smi ops
Link: https://lore.kernel.org/r/20210131180109.11510-1-krzk@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/soc/mediatek/smi.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/soc/mediatek/smi.h b/include/soc/mediatek/smi.h index 5a34b87d89e3..29e2fb8f33d6 100644 --- a/include/soc/mediatek/smi.h +++ b/include/soc/mediatek/smi.h @@ -9,7 +9,7 @@ #include <linux/bitops.h> #include <linux/device.h> -#ifdef CONFIG_MTK_SMI +#if IS_ENABLED(CONFIG_MTK_SMI) #define MTK_LARB_NR_MAX 16 |