ARM: rockchip: Set name of pmu regmap_config in smp code
authorJeffy Chen <jeffy.chen@rock-chips.com>
Mon, 12 Mar 2018 09:51:42 +0000 (17:51 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 12 Mar 2018 10:09:36 +0000 (11:09 +0100)
We are now allowing to register debugfs without a valid device, and not
having a valid name will end up using "dummy*" to create debugfs dir.

Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm/mach-rockchip/platsmp.c

index ecec340..51984a4 100644 (file)
@@ -208,6 +208,7 @@ static int __init rockchip_smp_prepare_sram(struct device_node *node)
 }
 
 static const struct regmap_config rockchip_pmu_regmap_config = {
+       .name = "rockchip-pmu",
        .reg_bits = 32,
        .val_bits = 32,
        .reg_stride = 4,